xref: /aosp_15_r20/external/skia/tests/sksl/compute/Barrier.asm.comp (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1*c8dee2aaSAndroid Build Coastguard Worker               OpCapability Shader
2*c8dee2aaSAndroid Build Coastguard Worker          %1 = OpExtInstImport "GLSL.std.450"
3*c8dee2aaSAndroid Build Coastguard Worker               OpMemoryModel Logical GLSL450
4*c8dee2aaSAndroid Build Coastguard Worker               OpEntryPoint GLCompute %main "main"
5*c8dee2aaSAndroid Build Coastguard Worker               OpExecutionMode %main LocalSize 64 1 1
6*c8dee2aaSAndroid Build Coastguard Worker               OpName %main "main"
7*c8dee2aaSAndroid Build Coastguard Worker       %void = OpTypeVoid
8*c8dee2aaSAndroid Build Coastguard Worker          %4 = OpTypeFunction %void
9*c8dee2aaSAndroid Build Coastguard Worker       %uint = OpTypeInt 32 0
10*c8dee2aaSAndroid Build Coastguard Worker     %uint_2 = OpConstant %uint 2
11*c8dee2aaSAndroid Build Coastguard Worker   %uint_264 = OpConstant %uint 264
12*c8dee2aaSAndroid Build Coastguard Worker    %uint_72 = OpConstant %uint 72
13*c8dee2aaSAndroid Build Coastguard Worker       %main = OpFunction %void None %4
14*c8dee2aaSAndroid Build Coastguard Worker          %5 = OpLabel
15*c8dee2aaSAndroid Build Coastguard Worker               OpControlBarrier %uint_2 %uint_2 %uint_264
16*c8dee2aaSAndroid Build Coastguard Worker               OpControlBarrier %uint_2 %uint_2 %uint_72
17*c8dee2aaSAndroid Build Coastguard Worker               OpReturn
18*c8dee2aaSAndroid Build Coastguard Worker               OpFunctionEnd
19