| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 56 |
| ; 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 %assign_and_preserve_padding_out "assign_and_preserve_padding_out" |
| OpName %value "value" |
| 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 |
| %v3float = OpTypeVector %float 3 |
| %mat4v3float = OpTypeMatrix %v3float 4 |
| %4 = OpConstantNull %float |
| %float_1 = OpConstant %float 1 |
| %float_2 = OpConstant %float 2 |
| %7 = OpConstantComposite %v3float %4 %float_1 %float_2 |
| %float_3 = OpConstant %float 3 |
| %float_4 = OpConstant %float 4 |
| %float_5 = OpConstant %float 5 |
| %11 = OpConstantComposite %v3float %float_3 %float_4 %float_5 |
| %float_6 = OpConstant %float 6 |
| %float_7 = OpConstant %float 7 |
| %float_8 = OpConstant %float 8 |
| %15 = OpConstantComposite %v3float %float_6 %float_7 %float_8 |
| %float_9 = OpConstant %float 9 |
| %float_10 = OpConstant %float 10 |
| %float_11 = OpConstant %float 11 |
| %19 = OpConstantComposite %v3float %float_9 %float_10 %float_11 |
| %20 = OpConstantComposite %mat4v3float %7 %11 %15 %19 |
| %_ptr_Private_mat4v3float = OpTypePointer Private %mat4v3float |
| %m = OpVariable %_ptr_Private_mat4v3float Private %20 |
| %out_block = OpTypeStruct %mat4v3float |
| %_ptr_StorageBuffer_out_block = OpTypePointer StorageBuffer %out_block |
| %out = OpVariable %_ptr_StorageBuffer_out_block StorageBuffer |
| %void = OpTypeVoid |
| %26 = OpTypeFunction %void %mat4v3float |
| %uint = OpTypeInt 32 0 |
| %uint_0 = OpConstant %uint 0 |
| %int = OpTypeInt 32 1 |
| %34 = OpConstantNull %int |
| %_ptr_StorageBuffer_v3float = OpTypePointer StorageBuffer %v3float |
| %37 = OpConstantNull %uint |
| %int_1 = OpConstant %int 1 |
| %uint_1 = OpConstant %uint 1 |
| %int_2 = OpConstant %int 2 |
| %uint_2 = OpConstant %uint 2 |
| %int_3 = OpConstant %int 3 |
| %uint_3 = OpConstant %uint 3 |
| %51 = OpTypeFunction %void |
| %assign_and_preserve_padding_out = OpFunction %void None %26 |
| %value = OpFunctionParameter %mat4v3float |
| %30 = OpLabel |
| %36 = OpAccessChain %_ptr_StorageBuffer_v3float %out %uint_0 %34 |
| %38 = OpCompositeExtract %v3float %value 0 |
| OpStore %36 %38 |
| %40 = OpAccessChain %_ptr_StorageBuffer_v3float %out %uint_0 %int_1 |
| %42 = OpCompositeExtract %v3float %value 1 |
| OpStore %40 %42 |
| %44 = OpAccessChain %_ptr_StorageBuffer_v3float %out %uint_0 %int_2 |
| %46 = OpCompositeExtract %v3float %value 2 |
| OpStore %44 %46 |
| %48 = OpAccessChain %_ptr_StorageBuffer_v3float %out %uint_0 %int_3 |
| %50 = OpCompositeExtract %v3float %value 3 |
| OpStore %48 %50 |
| OpReturn |
| OpFunctionEnd |
| %f = OpFunction %void None %51 |
| %53 = OpLabel |
| %55 = OpLoad %mat4v3float %m |
| %54 = OpFunctionCall %void %assign_and_preserve_padding_out %55 |
| OpReturn |
| OpFunctionEnd |