| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 21 |
| ; Schema: 0 |
| OpCapability Shader |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %f "f" |
| OpExecutionMode %f LocalSize 1 1 1 |
| OpMemberName %m_block_std140 0 "inner_col0" |
| OpMemberName %m_block_std140 1 "inner_col1" |
| OpName %m_block_std140 "m_block_std140" |
| OpName %f "f" |
| OpName %l_m "l_m" |
| OpName %l_m_1 "l_m_1" |
| OpMemberDecorate %m_block_std140 0 Offset 0 |
| OpMemberDecorate %m_block_std140 1 Offset 8 |
| OpDecorate %m_block_std140 Block |
| OpDecorate %1 DescriptorSet 0 |
| OpDecorate %1 Binding 0 |
| OpDecorate %1 NonWritable |
| %float = OpTypeFloat 32 |
| %v2float = OpTypeVector %float 2 |
| %m_block_std140 = OpTypeStruct %v2float %v2float |
| %_ptr_Uniform_m_block_std140 = OpTypePointer Uniform %m_block_std140 |
| %1 = OpVariable %_ptr_Uniform_m_block_std140 Uniform |
| %void = OpTypeVoid |
| %8 = OpTypeFunction %void |
| %_ptr_Uniform_v2float = OpTypePointer Uniform %v2float |
| %uint = OpTypeInt 32 0 |
| %uint_0 = OpConstant %uint 0 |
| %uint_1 = OpConstant %uint 1 |
| %mat2v2float = OpTypeMatrix %v2float 2 |
| %f = OpFunction %void None %8 |
| %9 = OpLabel |
| %10 = OpAccessChain %_ptr_Uniform_v2float %1 %uint_0 |
| %14 = OpLoad %v2float %10 None |
| %15 = OpAccessChain %_ptr_Uniform_v2float %1 %uint_1 |
| %17 = OpLoad %v2float %15 None |
| %l_m = OpCompositeConstruct %mat2v2float %14 %17 |
| %l_m_1 = OpCompositeExtract %v2float %l_m 1 |
| OpReturn |
| OpFunctionEnd |