|  | ; SPIR-V | 
|  | ; Version: 1.3 | 
|  | ; Generator: Google Tint Compiler; 0 | 
|  | ; Bound: 76 | 
|  | ; Schema: 0 | 
|  | OpCapability Shader | 
|  | OpMemoryModel Logical GLSL450 | 
|  | OpEntryPoint GLCompute %compute_main "compute_main" %local_invocation_index_1_param_1 | 
|  | OpExecutionMode %compute_main LocalSize 1 1 1 | 
|  | OpName %local_invocation_index_1_param_1 "local_invocation_index_1_param_1" | 
|  | OpName %local_invocation_index_1 "local_invocation_index_1" | 
|  | OpName %S2_atomic "S2_atomic" | 
|  | OpMemberName %S2_atomic 0 "x" | 
|  | OpMemberName %S2_atomic 1 "y" | 
|  | OpMemberName %S2_atomic 2 "z" | 
|  | OpMemberName %S2_atomic 3 "a" | 
|  | OpName %S1_atomic "S1_atomic" | 
|  | OpMemberName %S1_atomic 0 "x" | 
|  | OpMemberName %S1_atomic 1 "a" | 
|  | OpName %S0_atomic "S0_atomic" | 
|  | OpMemberName %S0_atomic 0 "x" | 
|  | OpMemberName %S0_atomic 1 "a" | 
|  | OpMemberName %S0_atomic 2 "y" | 
|  | OpMemberName %S0_atomic 3 "z" | 
|  | OpMemberName %S1_atomic 2 "y" | 
|  | OpMemberName %S1_atomic 3 "z" | 
|  | OpName %wg "wg" | 
|  | OpName %tint_zero_workgroup_memory "tint_zero_workgroup_memory" | 
|  | OpName %local_idx "local_idx" | 
|  | OpName %compute_main_inner "compute_main_inner" | 
|  | OpName %local_invocation_index_2 "local_invocation_index_2" | 
|  | OpName %compute_main_1 "compute_main_1" | 
|  | OpName %compute_main_inner_1 "compute_main_inner_1" | 
|  | OpName %local_invocation_index_1_param "local_invocation_index_1_param" | 
|  | OpName %compute_main "compute_main" | 
|  | OpDecorate %local_invocation_index_1_param_1 BuiltIn LocalInvocationIndex | 
|  | OpMemberDecorate %S2_atomic 0 Offset 0 | 
|  | OpMemberDecorate %S2_atomic 1 Offset 4 | 
|  | OpMemberDecorate %S2_atomic 2 Offset 8 | 
|  | OpMemberDecorate %S2_atomic 3 Offset 12 | 
|  | OpMemberDecorate %S1_atomic 0 Offset 0 | 
|  | OpMemberDecorate %S1_atomic 1 Offset 4 | 
|  | OpMemberDecorate %S0_atomic 0 Offset 0 | 
|  | OpMemberDecorate %S0_atomic 1 Offset 4 | 
|  | OpMemberDecorate %S0_atomic 2 Offset 8 | 
|  | OpMemberDecorate %S0_atomic 3 Offset 12 | 
|  | OpMemberDecorate %S1_atomic 2 Offset 20 | 
|  | OpMemberDecorate %S1_atomic 3 Offset 24 | 
|  | %uint = OpTypeInt 32 0 | 
|  | %_ptr_Input_uint = OpTypePointer Input %uint | 
|  | %local_invocation_index_1_param_1 = OpVariable %_ptr_Input_uint Input | 
|  | %_ptr_Private_uint = OpTypePointer Private %uint | 
|  | %6 = OpConstantNull %uint | 
|  | %local_invocation_index_1 = OpVariable %_ptr_Private_uint Private %6 | 
|  | %int = OpTypeInt 32 1 | 
|  | %S0_atomic = OpTypeStruct %int %uint %int %int | 
|  | %S1_atomic = OpTypeStruct %int %S0_atomic %int %int | 
|  | %S2_atomic = OpTypeStruct %int %int %int %S1_atomic | 
|  | %_ptr_Workgroup_S2_atomic = OpTypePointer Workgroup %S2_atomic | 
|  | %wg = OpVariable %_ptr_Workgroup_S2_atomic Workgroup | 
|  | %void = OpTypeVoid | 
|  | %13 = OpTypeFunction %void %uint | 
|  | %uint_1 = OpConstant %uint 1 | 
|  | %bool = OpTypeBool | 
|  | %uint_0 = OpConstant %uint 0 | 
|  | %_ptr_Workgroup_int = OpTypePointer Workgroup %int | 
|  | %26 = OpConstantNull %int | 
|  | %uint_2 = OpConstant %uint 2 | 
|  | %uint_3 = OpConstant %uint 3 | 
|  | %_ptr_Workgroup_uint = OpTypePointer Workgroup %uint | 
|  | %uint_264 = OpConstant %uint 264 | 
|  | %62 = OpTypeFunction %void | 
|  | %tint_zero_workgroup_memory = OpFunction %void None %13 | 
|  | %local_idx = OpFunctionParameter %uint | 
|  | %17 = OpLabel | 
|  | %19 = OpULessThan %bool %local_idx %uint_1 | 
|  | OpSelectionMerge %21 None | 
|  | OpBranchConditional %19 %22 %21 | 
|  | %22 = OpLabel | 
|  | %25 = OpAccessChain %_ptr_Workgroup_int %wg %uint_0 | 
|  | OpStore %25 %26 | 
|  | %27 = OpAccessChain %_ptr_Workgroup_int %wg %uint_1 | 
|  | OpStore %27 %26 | 
|  | %29 = OpAccessChain %_ptr_Workgroup_int %wg %uint_2 | 
|  | OpStore %29 %26 | 
|  | %31 = OpAccessChain %_ptr_Workgroup_int %wg %uint_3 %uint_0 | 
|  | OpStore %31 %26 | 
|  | %32 = OpAccessChain %_ptr_Workgroup_int %wg %uint_3 %uint_1 %uint_0 | 
|  | OpStore %32 %26 | 
|  | %36 = OpAccessChain %_ptr_Workgroup_uint %wg %uint_3 %uint_1 %uint_1 | 
|  | OpAtomicStore %36 %uint_2 %uint_0 %6 | 
|  | %37 = OpAccessChain %_ptr_Workgroup_int %wg %uint_3 %uint_1 %uint_2 | 
|  | OpStore %37 %26 | 
|  | %38 = OpAccessChain %_ptr_Workgroup_int %wg %uint_3 %uint_1 %uint_3 | 
|  | OpStore %38 %26 | 
|  | %39 = OpAccessChain %_ptr_Workgroup_int %wg %uint_3 %uint_2 | 
|  | OpStore %39 %26 | 
|  | %40 = OpAccessChain %_ptr_Workgroup_int %wg %uint_3 %uint_3 | 
|  | OpStore %40 %26 | 
|  | OpBranch %21 | 
|  | %21 = OpLabel | 
|  | OpControlBarrier %uint_2 %uint_2 %uint_264 | 
|  | OpReturn | 
|  | OpFunctionEnd | 
|  | %compute_main_inner = OpFunction %void None %13 | 
|  | %local_invocation_index_2 = OpFunctionParameter %uint | 
|  | %45 = OpLabel | 
|  | %46 = OpAccessChain %_ptr_Workgroup_int %wg %uint_0 | 
|  | OpStore %46 %26 | 
|  | %47 = OpAccessChain %_ptr_Workgroup_int %wg %uint_1 | 
|  | OpStore %47 %26 | 
|  | %48 = OpAccessChain %_ptr_Workgroup_int %wg %uint_2 | 
|  | OpStore %48 %26 | 
|  | %49 = OpAccessChain %_ptr_Workgroup_int %wg %uint_3 %uint_0 | 
|  | OpStore %49 %26 | 
|  | %50 = OpAccessChain %_ptr_Workgroup_int %wg %uint_3 %uint_1 %uint_0 | 
|  | OpStore %50 %26 | 
|  | %53 = OpAccessChain %_ptr_Workgroup_uint %wg %uint_3 %uint_1 %uint_1 | 
|  | OpAtomicStore %53 %uint_2 %uint_0 %6 | 
|  | %54 = OpAccessChain %_ptr_Workgroup_int %wg %uint_3 %uint_1 %uint_2 | 
|  | OpStore %54 %26 | 
|  | %55 = OpAccessChain %_ptr_Workgroup_int %wg %uint_3 %uint_1 %uint_3 | 
|  | OpStore %55 %26 | 
|  | %56 = OpAccessChain %_ptr_Workgroup_int %wg %uint_3 %uint_2 | 
|  | OpStore %56 %26 | 
|  | %57 = OpAccessChain %_ptr_Workgroup_int %wg %uint_3 %uint_3 | 
|  | OpStore %57 %26 | 
|  | OpControlBarrier %uint_2 %uint_2 %uint_264 | 
|  | %61 = OpAccessChain %_ptr_Workgroup_uint %wg %uint_3 %uint_1 %uint_1 | 
|  | OpAtomicStore %61 %uint_2 %uint_0 %uint_1 | 
|  | OpReturn | 
|  | OpFunctionEnd | 
|  | %compute_main_1 = OpFunction %void None %62 | 
|  | %64 = OpLabel | 
|  | %65 = OpLoad %uint %local_invocation_index_1 | 
|  | %66 = OpFunctionCall %void %compute_main_inner %65 | 
|  | OpReturn | 
|  | OpFunctionEnd | 
|  | %compute_main_inner_1 = OpFunction %void None %13 | 
|  | %local_invocation_index_1_param = OpFunctionParameter %uint | 
|  | %69 = OpLabel | 
|  | %70 = OpFunctionCall %void %tint_zero_workgroup_memory %local_invocation_index_1_param | 
|  | OpStore %local_invocation_index_1 %local_invocation_index_1_param | 
|  | %71 = OpFunctionCall %void %compute_main_1 | 
|  | OpReturn | 
|  | OpFunctionEnd | 
|  | %compute_main = OpFunction %void None %62 | 
|  | %73 = OpLabel | 
|  | %75 = OpLoad %uint %local_invocation_index_1_param_1 | 
|  | %74 = OpFunctionCall %void %compute_main_inner_1 %75 | 
|  | OpReturn | 
|  | OpFunctionEnd |