|  | ; SPIR-V | 
|  | ; Version: 1.3 | 
|  | ; Generator: Google Tint Compiler; 1 | 
|  | ; Bound: 56 | 
|  | ; Schema: 0 | 
|  | OpCapability Shader | 
|  | OpMemoryModel Logical GLSL450 | 
|  | OpEntryPoint GLCompute %compute_main "compute_main" %compute_main_local_invocation_index_Input | 
|  | OpExecutionMode %compute_main LocalSize 1 1 1 | 
|  | OpName %local_invocation_index_1 "local_invocation_index_1" | 
|  | OpMemberName %S_atomic 0 "x" | 
|  | OpMemberName %S_atomic 1 "a" | 
|  | OpMemberName %S_atomic 2 "b" | 
|  | OpName %S_atomic "S_atomic" | 
|  | OpName %wg "wg" | 
|  | OpName %compute_main_local_invocation_index_Input "compute_main_local_invocation_index_Input" | 
|  | OpName %compute_main_inner "compute_main_inner" | 
|  | OpName %local_invocation_index_2 "local_invocation_index_2" | 
|  | OpName %compute_main_1 "compute_main_1" | 
|  | OpName %x_39 "x_39" | 
|  | OpName %compute_main_inner_0 "compute_main_inner" | 
|  | OpName %local_invocation_index_1_param "local_invocation_index_1_param" | 
|  | OpName %compute_main "compute_main" | 
|  | OpDecorate %compute_main_local_invocation_index_Input BuiltIn LocalInvocationIndex | 
|  | %uint = OpTypeInt 32 0 | 
|  | %_ptr_Private_uint = OpTypePointer Private %uint | 
|  | %4 = OpConstantNull %uint | 
|  | %local_invocation_index_1 = OpVariable %_ptr_Private_uint Private %4 | 
|  | %int = OpTypeInt 32 1 | 
|  | %S_atomic = OpTypeStruct %int %uint %uint | 
|  | %_ptr_Workgroup_S_atomic = OpTypePointer Workgroup %S_atomic | 
|  | %wg = OpVariable %_ptr_Workgroup_S_atomic Workgroup | 
|  | %_ptr_Input_uint = OpTypePointer Input %uint | 
|  | %compute_main_local_invocation_index_Input = OpVariable %_ptr_Input_uint Input | 
|  | %void = OpTypeVoid | 
|  | %14 = OpTypeFunction %void %uint | 
|  | %_ptr_Workgroup_int = OpTypePointer Workgroup %int | 
|  | %uint_0 = OpConstant %uint 0 | 
|  | %int_0 = OpConstant %int 0 | 
|  | %_ptr_Workgroup_uint = OpTypePointer Workgroup %uint | 
|  | %uint_1 = OpConstant %uint 1 | 
|  | %uint_2 = OpConstant %uint 2 | 
|  | %uint_264 = OpConstant %uint 264 | 
|  | %34 = OpTypeFunction %void | 
|  | %bool = OpTypeBool | 
|  | %compute_main_inner = OpFunction %void None %14 | 
|  | %local_invocation_index_2 = OpFunctionParameter %uint | 
|  | %15 = OpLabel | 
|  | %16 = OpAccessChain %_ptr_Workgroup_int %wg %uint_0 | 
|  | OpStore %16 %int_0 None | 
|  | %20 = OpAccessChain %_ptr_Workgroup_uint %wg %uint_1 | 
|  | OpAtomicStore %20 %uint_2 %uint_0 %uint_0 | 
|  | %25 = OpAccessChain %_ptr_Workgroup_uint %wg %uint_2 | 
|  | OpAtomicStore %25 %uint_2 %uint_0 %uint_0 | 
|  | OpControlBarrier %uint_2 %uint_2 %uint_264 | 
|  | %29 = OpAccessChain %_ptr_Workgroup_uint %wg %uint_1 | 
|  | OpAtomicStore %29 %uint_2 %uint_0 %uint_1 | 
|  | %31 = OpAccessChain %_ptr_Workgroup_uint %wg %uint_2 | 
|  | OpAtomicStore %31 %uint_2 %uint_0 %uint_2 | 
|  | OpReturn | 
|  | OpFunctionEnd | 
|  | %compute_main_1 = OpFunction %void None %34 | 
|  | %35 = OpLabel | 
|  | %x_39 = OpLoad %uint %local_invocation_index_1 None | 
|  | %37 = OpFunctionCall %void %compute_main_inner %x_39 | 
|  | OpReturn | 
|  | OpFunctionEnd | 
|  | %compute_main_inner_0 = OpFunction %void None %14 | 
|  | %local_invocation_index_1_param = OpFunctionParameter %uint | 
|  | %40 = OpLabel | 
|  | %41 = OpULessThan %bool %local_invocation_index_1_param %uint_1 | 
|  | OpSelectionMerge %43 None | 
|  | OpBranchConditional %41 %44 %43 | 
|  | %44 = OpLabel | 
|  | %45 = OpAccessChain %_ptr_Workgroup_int %wg %uint_0 | 
|  | OpStore %45 %int_0 None | 
|  | %46 = OpAccessChain %_ptr_Workgroup_uint %wg %uint_1 | 
|  | OpAtomicStore %46 %uint_2 %uint_0 %uint_0 | 
|  | %48 = OpAccessChain %_ptr_Workgroup_uint %wg %uint_2 | 
|  | OpAtomicStore %48 %uint_2 %uint_0 %uint_0 | 
|  | OpBranch %43 | 
|  | %43 = OpLabel | 
|  | OpControlBarrier %uint_2 %uint_2 %uint_264 | 
|  | OpStore %local_invocation_index_1 %local_invocation_index_1_param None | 
|  | %51 = OpFunctionCall %void %compute_main_1 | 
|  | OpReturn | 
|  | OpFunctionEnd | 
|  | %compute_main = OpFunction %void None %34 | 
|  | %53 = OpLabel | 
|  | %54 = OpLoad %uint %compute_main_local_invocation_index_Input None | 
|  | %55 = OpFunctionCall %void %compute_main_inner_0 %54 | 
|  | OpReturn | 
|  | OpFunctionEnd |