| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 40 |
| ; 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 16 |
| OpDecorate %out DescriptorSet 0 |
| OpDecorate %out Binding 0 |
| %float = OpTypeFloat 32 |
| %v4float = OpTypeVector %float 4 |
| %mat4v4float = OpTypeMatrix %v4float 4 |
| %4 = OpConstantNull %float |
| %float_1 = OpConstant %float 1 |
| %float_2 = OpConstant %float 2 |
| %float_3 = OpConstant %float 3 |
| %8 = OpConstantComposite %v4float %4 %float_1 %float_2 %float_3 |
| %float_4 = OpConstant %float 4 |
| %float_5 = OpConstant %float 5 |
| %float_6 = OpConstant %float 6 |
| %float_7 = OpConstant %float 7 |
| %13 = OpConstantComposite %v4float %float_4 %float_5 %float_6 %float_7 |
| %float_8 = OpConstant %float 8 |
| %float_9 = OpConstant %float 9 |
| %float_10 = OpConstant %float 10 |
| %float_11 = OpConstant %float 11 |
| %18 = OpConstantComposite %v4float %float_8 %float_9 %float_10 %float_11 |
| %float_12 = OpConstant %float 12 |
| %float_13 = OpConstant %float 13 |
| %float_14 = OpConstant %float 14 |
| %float_15 = OpConstant %float 15 |
| %23 = OpConstantComposite %v4float %float_12 %float_13 %float_14 %float_15 |
| %24 = OpConstantComposite %mat4v4float %8 %13 %18 %23 |
| %_ptr_Private_mat4v4float = OpTypePointer Private %mat4v4float |
| %m = OpVariable %_ptr_Private_mat4v4float Private %24 |
| %out_block = OpTypeStruct %mat4v4float |
| %_ptr_StorageBuffer_out_block = OpTypePointer StorageBuffer %out_block |
| %out = OpVariable %_ptr_StorageBuffer_out_block StorageBuffer |
| %void = OpTypeVoid |
| %30 = OpTypeFunction %void |
| %uint = OpTypeInt 32 0 |
| %uint_0 = OpConstant %uint 0 |
| %_ptr_StorageBuffer_mat4v4float = OpTypePointer StorageBuffer %mat4v4float |
| %f = OpFunction %void None %30 |
| %33 = OpLabel |
| %37 = OpAccessChain %_ptr_StorageBuffer_mat4v4float %out %uint_0 |
| %39 = OpLoad %mat4v4float %m |
| OpStore %37 %39 |
| OpReturn |
| OpFunctionEnd |