| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 48 |
| ; Schema: 0 |
| OpCapability Shader |
| OpCapability Float16 |
| OpCapability UniformAndStorageBuffer16BitAccess |
| OpCapability StorageBuffer16BitAccess |
| 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 8 |
| OpDecorate %out DescriptorSet 0 |
| OpDecorate %out Binding 0 |
| %half = OpTypeFloat 16 |
| %v3half = OpTypeVector %half 3 |
| %mat3v3half = OpTypeMatrix %v3half 3 |
| %4 = OpConstantNull %half |
| %half_0x1p_0 = OpConstant %half 0x1p+0 |
| %half_0x1p_1 = OpConstant %half 0x1p+1 |
| %7 = OpConstantComposite %v3half %4 %half_0x1p_0 %half_0x1p_1 |
| %half_0x1_8p_1 = OpConstant %half 0x1.8p+1 |
| %half_0x1p_2 = OpConstant %half 0x1p+2 |
| %half_0x1_4p_2 = OpConstant %half 0x1.4p+2 |
| %11 = OpConstantComposite %v3half %half_0x1_8p_1 %half_0x1p_2 %half_0x1_4p_2 |
| %half_0x1_8p_2 = OpConstant %half 0x1.8p+2 |
| %half_0x1_cp_2 = OpConstant %half 0x1.cp+2 |
| %half_0x1p_3 = OpConstant %half 0x1p+3 |
| %15 = OpConstantComposite %v3half %half_0x1_8p_2 %half_0x1_cp_2 %half_0x1p_3 |
| %16 = OpConstantComposite %mat3v3half %7 %11 %15 |
| %_ptr_Private_mat3v3half = OpTypePointer Private %mat3v3half |
| %m = OpVariable %_ptr_Private_mat3v3half Private %16 |
| %out_block = OpTypeStruct %mat3v3half |
| %_ptr_StorageBuffer_out_block = OpTypePointer StorageBuffer %out_block |
| %out = OpVariable %_ptr_StorageBuffer_out_block StorageBuffer |
| %void = OpTypeVoid |
| %22 = OpTypeFunction %void %mat3v3half |
| %uint = OpTypeInt 32 0 |
| %uint_0 = OpConstant %uint 0 |
| %int = OpTypeInt 32 1 |
| %30 = OpConstantNull %int |
| %_ptr_StorageBuffer_v3half = OpTypePointer StorageBuffer %v3half |
| %33 = OpConstantNull %uint |
| %int_1 = OpConstant %int 1 |
| %uint_1 = OpConstant %uint 1 |
| %int_2 = OpConstant %int 2 |
| %uint_2 = OpConstant %uint 2 |
| %43 = OpTypeFunction %void |
| %assign_and_preserve_padding_out = OpFunction %void None %22 |
| %value = OpFunctionParameter %mat3v3half |
| %26 = OpLabel |
| %32 = OpAccessChain %_ptr_StorageBuffer_v3half %out %uint_0 %30 |
| %34 = OpCompositeExtract %v3half %value 0 |
| OpStore %32 %34 |
| %36 = OpAccessChain %_ptr_StorageBuffer_v3half %out %uint_0 %int_1 |
| %38 = OpCompositeExtract %v3half %value 1 |
| OpStore %36 %38 |
| %40 = OpAccessChain %_ptr_StorageBuffer_v3half %out %uint_0 %int_2 |
| %42 = OpCompositeExtract %v3half %value 2 |
| OpStore %40 %42 |
| OpReturn |
| OpFunctionEnd |
| %f = OpFunction %void None %43 |
| %45 = OpLabel |
| %47 = OpLoad %mat3v3half %m |
| %46 = OpFunctionCall %void %assign_and_preserve_padding_out %47 |
| OpReturn |
| OpFunctionEnd |