| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 25 |
| ; Schema: 0 |
| OpCapability Shader |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %main "main" |
| OpExecutionMode %main LocalSize 1 1 1 |
| OpName %main_1 "main_1" |
| OpName %S_1 "S_1" |
| OpMemberName %S_1 0 "field0" |
| OpMemberName %S_1 1 "field1" |
| OpName %x_37 "x_37" |
| OpName %main "main" |
| OpMemberDecorate %S_1 0 Offset 0 |
| OpMemberDecorate %S_1 1 Offset 8 |
| OpMemberDecorate %S_1 1 ColMajor |
| OpMemberDecorate %S_1 1 MatrixStride 8 |
| OpDecorate %_arr_mat3v2float_uint_3 ArrayStride 24 |
| %void = OpTypeVoid |
| %1 = OpTypeFunction %void |
| %uint = OpTypeInt 32 0 |
| %float = OpTypeFloat 32 |
| %v2float = OpTypeVector %float 2 |
| %mat3v2float = OpTypeMatrix %v2float 3 |
| %uint_3 = OpConstant %uint 3 |
| %_arr_mat3v2float_uint_3 = OpTypeArray %mat3v2float %uint_3 |
| %S_1 = OpTypeStruct %uint %_arr_mat3v2float_uint_3 |
| %_ptr_Function_S_1 = OpTypePointer Function %S_1 |
| %14 = OpConstantNull %S_1 |
| %uint_2 = OpConstant %uint 2 |
| %uint_0 = OpConstant %uint 0 |
| %main_1 = OpFunction %void None %1 |
| %4 = OpLabel |
| %x_37 = OpVariable %_ptr_Function_S_1 Function %14 |
| %15 = OpLoad %S_1 %x_37 |
| %16 = OpCompositeExtract %_arr_mat3v2float_uint_3 %15 1 |
| %18 = OpCompositeExtract %mat3v2float %16 2 |
| %20 = OpCompositeExtract %v2float %18 0 |
| %21 = OpCompositeExtract %float %20 1 |
| OpReturn |
| OpFunctionEnd |
| %main = OpFunction %void None %1 |
| %23 = OpLabel |
| %24 = OpFunctionCall %void %main_1 |
| OpReturn |
| OpFunctionEnd |