| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 25 |
| ; Schema: 0 |
| OpCapability Shader |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %f "f" |
| OpExecutionMode %f LocalSize 1 1 1 |
| OpName %m "m" |
| OpName %out_block "out_block" |
| OpMemberName %out_block 0 "inner" |
| OpName %out "out" |
| OpName %f "f" |
| OpDecorate %out_block Block |
| OpMemberDecorate %out_block 0 Offset 0 |
| OpMemberDecorate %out_block 0 ColMajor |
| OpMemberDecorate %out_block 0 MatrixStride 8 |
| OpDecorate %out DescriptorSet 0 |
| OpDecorate %out Binding 0 |
| %float = OpTypeFloat 32 |
| %v2float = OpTypeVector %float 2 |
| %mat2v2float = OpTypeMatrix %v2float 2 |
| %4 = OpConstantNull %float |
| %float_1 = OpConstant %float 1 |
| %6 = OpConstantComposite %v2float %4 %float_1 |
| %float_2 = OpConstant %float 2 |
| %float_3 = OpConstant %float 3 |
| %9 = OpConstantComposite %v2float %float_2 %float_3 |
| %10 = OpConstantComposite %mat2v2float %6 %9 |
| %_ptr_Private_mat2v2float = OpTypePointer Private %mat2v2float |
| %m = OpVariable %_ptr_Private_mat2v2float Private %10 |
| %out_block = OpTypeStruct %mat2v2float |
| %_ptr_StorageBuffer_out_block = OpTypePointer StorageBuffer %out_block |
| %out = OpVariable %_ptr_StorageBuffer_out_block StorageBuffer |
| %void = OpTypeVoid |
| %16 = OpTypeFunction %void |
| %uint = OpTypeInt 32 0 |
| %uint_0 = OpConstant %uint 0 |
| %_ptr_StorageBuffer_mat2v2float = OpTypePointer StorageBuffer %mat2v2float |
| %f = OpFunction %void None %16 |
| %19 = OpLabel |
| %23 = OpAccessChain %_ptr_StorageBuffer_mat2v2float %out %uint_0 |
| %24 = OpLoad %mat2v2float %m |
| OpStore %23 %24 |
| OpReturn |
| OpFunctionEnd |