|  | ; SPIR-V | 
|  | ; Version: 1.3 | 
|  | ; Generator: Google Tint Compiler; 0 | 
|  | ; Bound: 53 | 
|  | ; Schema: 0 | 
|  | OpCapability Shader | 
|  | OpMemoryModel Logical GLSL450 | 
|  | OpEntryPoint GLCompute %compute_main "compute_main" %local_invocation_index_1 | 
|  | OpExecutionMode %compute_main LocalSize 1 1 1 | 
|  | OpName %local_invocation_index_1 "local_invocation_index_1" | 
|  | OpName %S2 "S2" | 
|  | OpMemberName %S2 0 "x" | 
|  | OpMemberName %S2 1 "y" | 
|  | OpMemberName %S2 2 "z" | 
|  | OpMemberName %S2 3 "a" | 
|  | OpName %S1 "S1" | 
|  | OpMemberName %S1 0 "x" | 
|  | OpMemberName %S1 1 "a" | 
|  | OpName %S0 "S0" | 
|  | OpMemberName %S0 0 "x" | 
|  | OpMemberName %S0 1 "a" | 
|  | OpMemberName %S0 2 "y" | 
|  | OpMemberName %S0 3 "z" | 
|  | OpMemberName %S1 2 "y" | 
|  | OpMemberName %S1 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 "local_invocation_index" | 
|  | OpName %compute_main "compute_main" | 
|  | OpDecorate %local_invocation_index_1 BuiltIn LocalInvocationIndex | 
|  | OpMemberDecorate %S2 0 Offset 0 | 
|  | OpMemberDecorate %S2 1 Offset 4 | 
|  | OpMemberDecorate %S2 2 Offset 8 | 
|  | OpMemberDecorate %S2 3 Offset 12 | 
|  | OpMemberDecorate %S1 0 Offset 0 | 
|  | OpMemberDecorate %S1 1 Offset 4 | 
|  | OpMemberDecorate %S0 0 Offset 0 | 
|  | OpMemberDecorate %S0 1 Offset 4 | 
|  | OpMemberDecorate %S0 2 Offset 8 | 
|  | OpMemberDecorate %S0 3 Offset 12 | 
|  | OpMemberDecorate %S1 2 Offset 20 | 
|  | OpMemberDecorate %S1 3 Offset 24 | 
|  | %uint = OpTypeInt 32 0 | 
|  | %_ptr_Input_uint = OpTypePointer Input %uint | 
|  | %local_invocation_index_1 = OpVariable %_ptr_Input_uint Input | 
|  | %int = OpTypeInt 32 1 | 
|  | %S0 = OpTypeStruct %int %uint %int %int | 
|  | %S1 = OpTypeStruct %int %S0 %int %int | 
|  | %S2 = OpTypeStruct %int %int %int %S1 | 
|  | %_ptr_Workgroup_S2 = OpTypePointer Workgroup %S2 | 
|  | %wg = OpVariable %_ptr_Workgroup_S2 Workgroup | 
|  | %void = OpTypeVoid | 
|  | %10 = OpTypeFunction %void %uint | 
|  | %uint_1 = OpConstant %uint 1 | 
|  | %bool = OpTypeBool | 
|  | %uint_0 = OpConstant %uint 0 | 
|  | %_ptr_Workgroup_int = OpTypePointer Workgroup %int | 
|  | %23 = OpConstantNull %int | 
|  | %uint_2 = OpConstant %uint 2 | 
|  | %uint_3 = OpConstant %uint 3 | 
|  | %_ptr_Workgroup_uint = OpTypePointer Workgroup %uint | 
|  | %34 = OpConstantNull %uint | 
|  | %uint_264 = OpConstant %uint 264 | 
|  | %48 = OpTypeFunction %void | 
|  | %tint_zero_workgroup_memory = OpFunction %void None %10 | 
|  | %local_idx = OpFunctionParameter %uint | 
|  | %14 = OpLabel | 
|  | %16 = OpULessThan %bool %local_idx %uint_1 | 
|  | OpSelectionMerge %18 None | 
|  | OpBranchConditional %16 %19 %18 | 
|  | %19 = OpLabel | 
|  | %22 = OpAccessChain %_ptr_Workgroup_int %wg %uint_0 | 
|  | OpStore %22 %23 | 
|  | %24 = OpAccessChain %_ptr_Workgroup_int %wg %uint_1 | 
|  | OpStore %24 %23 | 
|  | %26 = OpAccessChain %_ptr_Workgroup_int %wg %uint_2 | 
|  | OpStore %26 %23 | 
|  | %28 = OpAccessChain %_ptr_Workgroup_int %wg %uint_3 %uint_0 | 
|  | OpStore %28 %23 | 
|  | %29 = OpAccessChain %_ptr_Workgroup_int %wg %uint_3 %uint_1 %uint_0 | 
|  | OpStore %29 %23 | 
|  | %33 = OpAccessChain %_ptr_Workgroup_uint %wg %uint_3 %uint_1 %uint_1 | 
|  | OpAtomicStore %33 %uint_2 %uint_0 %34 | 
|  | %35 = OpAccessChain %_ptr_Workgroup_int %wg %uint_3 %uint_1 %uint_2 | 
|  | OpStore %35 %23 | 
|  | %36 = OpAccessChain %_ptr_Workgroup_int %wg %uint_3 %uint_1 %uint_3 | 
|  | OpStore %36 %23 | 
|  | %37 = OpAccessChain %_ptr_Workgroup_int %wg %uint_3 %uint_2 | 
|  | OpStore %37 %23 | 
|  | %38 = OpAccessChain %_ptr_Workgroup_int %wg %uint_3 %uint_3 | 
|  | OpStore %38 %23 | 
|  | OpBranch %18 | 
|  | %18 = OpLabel | 
|  | OpControlBarrier %uint_2 %uint_2 %uint_264 | 
|  | OpReturn | 
|  | OpFunctionEnd | 
|  | %compute_main_inner = OpFunction %void None %10 | 
|  | %local_invocation_index = OpFunctionParameter %uint | 
|  | %43 = OpLabel | 
|  | %44 = OpFunctionCall %void %tint_zero_workgroup_memory %local_invocation_index | 
|  | %47 = OpAccessChain %_ptr_Workgroup_uint %wg %uint_3 %uint_1 %uint_1 | 
|  | OpAtomicStore %47 %uint_2 %uint_0 %uint_1 | 
|  | OpReturn | 
|  | OpFunctionEnd | 
|  | %compute_main = OpFunction %void None %48 | 
|  | %50 = OpLabel | 
|  | %52 = OpLoad %uint %local_invocation_index_1 | 
|  | %51 = OpFunctionCall %void %compute_main_inner %52 | 
|  | OpReturn | 
|  | OpFunctionEnd |