| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 23 |
| ; Schema: 0 |
| OpCapability Shader |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %unused_entry_point "unused_entry_point" |
| OpExecutionMode %unused_entry_point LocalSize 1 1 1 |
| OpName %unused_entry_point "unused_entry_point" |
| OpName %f "f" |
| OpName %S "S" |
| OpMemberName %S 0 "m" |
| OpMemberName %S 1 "n" |
| OpName %a "a" |
| OpMemberDecorate %S 0 Offset 0 |
| OpMemberDecorate %S 1 Offset 4 |
| OpDecorate %_arr_uint_uint_4 ArrayStride 4 |
| OpDecorate %_arr_S_uint_2 ArrayStride 20 |
| %void = OpTypeVoid |
| %1 = OpTypeFunction %void |
| %uint = OpTypeInt 32 0 |
| %5 = OpTypeFunction %uint |
| %int = OpTypeInt 32 1 |
| %uint_4 = OpConstant %uint 4 |
| %_arr_uint_uint_4 = OpTypeArray %uint %uint_4 |
| %S = OpTypeStruct %int %_arr_uint_uint_4 |
| %uint_2 = OpConstant %uint 2 |
| %_arr_S_uint_2 = OpTypeArray %S %uint_2 |
| %15 = OpConstantNull %_arr_S_uint_2 |
| %_ptr_Function__arr_S_uint_2 = OpTypePointer Function %_arr_S_uint_2 |
| %int_1 = OpConstant %int 1 |
| %uint_1 = OpConstant %uint 1 |
| %_ptr_Function_uint = OpTypePointer Function %uint |
| %unused_entry_point = OpFunction %void None %1 |
| %4 = OpLabel |
| OpReturn |
| OpFunctionEnd |
| %f = OpFunction %uint None %5 |
| %8 = OpLabel |
| %a = OpVariable %_ptr_Function__arr_S_uint_2 Function %15 |
| OpStore %a %15 |
| %21 = OpAccessChain %_ptr_Function_uint %a %int_1 %uint_1 %int_1 |
| %22 = OpLoad %uint %21 |
| OpReturnValue %22 |
| OpFunctionEnd |