| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 27 |
| ; Schema: 0 |
| OpCapability Shader |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %f "f" |
| OpExecutionMode %f LocalSize 1 1 1 |
| OpName %a_block "a_block" |
| OpMemberName %a_block 0 "inner" |
| OpName %a "a" |
| OpName %f "f" |
| OpDecorate %a_block Block |
| OpMemberDecorate %a_block 0 Offset 0 |
| OpMemberDecorate %a_block 0 ColMajor |
| OpMemberDecorate %a_block 0 MatrixStride 16 |
| OpDecorate %_arr_mat2v3float_uint_4 ArrayStride 32 |
| OpDecorate %a NonWritable |
| OpDecorate %a DescriptorSet 0 |
| OpDecorate %a Binding 0 |
| %float = OpTypeFloat 32 |
| %v3float = OpTypeVector %float 3 |
| %mat2v3float = OpTypeMatrix %v3float 2 |
| %uint = OpTypeInt 32 0 |
| %uint_4 = OpConstant %uint 4 |
| %_arr_mat2v3float_uint_4 = OpTypeArray %mat2v3float %uint_4 |
| %a_block = OpTypeStruct %_arr_mat2v3float_uint_4 |
| %_ptr_Uniform_a_block = OpTypePointer Uniform %a_block |
| %a = OpVariable %_ptr_Uniform_a_block Uniform |
| %void = OpTypeVoid |
| %10 = OpTypeFunction %void |
| %uint_0 = OpConstant %uint 0 |
| %_ptr_Uniform__arr_mat2v3float_uint_4 = OpTypePointer Uniform %_arr_mat2v3float_uint_4 |
| %int = OpTypeInt 32 1 |
| %int_2 = OpConstant %int 2 |
| %_ptr_Uniform_mat2v3float = OpTypePointer Uniform %mat2v3float |
| %int_1 = OpConstant %int 1 |
| %_ptr_Uniform_v3float = OpTypePointer Uniform %v3float |
| %f = OpFunction %void None %10 |
| %13 = OpLabel |
| %16 = OpAccessChain %_ptr_Uniform__arr_mat2v3float_uint_4 %a %uint_0 |
| %17 = OpLoad %_arr_mat2v3float_uint_4 %16 |
| %21 = OpAccessChain %_ptr_Uniform_mat2v3float %a %uint_0 %int_2 |
| %22 = OpLoad %mat2v3float %21 |
| %25 = OpAccessChain %_ptr_Uniform_v3float %a %uint_0 %int_2 %int_1 |
| %26 = OpLoad %v3float %25 |
| OpReturn |
| OpFunctionEnd |