| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 34 |
| ; 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" |
| OpMemberName %tint_symbol_1 0 "tint_symbol" |
| OpName %tint_symbol_1 "tint_symbol_1" |
| OpName %f "f" |
| OpName %tint_store_and_preserve_padding "tint_store_and_preserve_padding" |
| OpName %value_param "value_param" |
| OpMemberDecorate %tint_symbol_1 0 Offset 0 |
| OpMemberDecorate %tint_symbol_1 0 ColMajor |
| OpMemberDecorate %tint_symbol_1 0 MatrixStride 8 |
| OpDecorate %tint_symbol_1 Block |
| OpDecorate %7 DescriptorSet 0 |
| OpDecorate %7 Binding 0 |
| %half = OpTypeFloat 16 |
| %v3half = OpTypeVector %half 3 |
| %mat4v3half = OpTypeMatrix %v3half 4 |
| %_ptr_Private_mat4v3half = OpTypePointer Private %mat4v3half |
| %6 = OpConstantNull %mat4v3half |
| %m = OpVariable %_ptr_Private_mat4v3half Private %6 |
| %tint_symbol_1 = OpTypeStruct %mat4v3half |
| %_ptr_StorageBuffer_tint_symbol_1 = OpTypePointer StorageBuffer %tint_symbol_1 |
| %7 = OpVariable %_ptr_StorageBuffer_tint_symbol_1 StorageBuffer |
| %void = OpTypeVoid |
| %12 = OpTypeFunction %void |
| %18 = OpTypeFunction %void %mat4v3half |
| %_ptr_StorageBuffer_v3half = OpTypePointer StorageBuffer %v3half |
| %uint = OpTypeInt 32 0 |
| %uint_0 = OpConstant %uint 0 |
| %uint_1 = OpConstant %uint 1 |
| %uint_2 = OpConstant %uint 2 |
| %uint_3 = OpConstant %uint 3 |
| %f = OpFunction %void None %12 |
| %13 = OpLabel |
| %14 = OpLoad %mat4v3half %m |
| %15 = OpFunctionCall %void %tint_store_and_preserve_padding %14 |
| OpReturn |
| OpFunctionEnd |
| %tint_store_and_preserve_padding = OpFunction %void None %18 |
| %value_param = OpFunctionParameter %mat4v3half |
| %19 = OpLabel |
| %20 = OpAccessChain %_ptr_StorageBuffer_v3half %7 %uint_0 %uint_0 |
| %24 = OpCompositeExtract %v3half %value_param 0 |
| OpStore %20 %24 |
| %25 = OpAccessChain %_ptr_StorageBuffer_v3half %7 %uint_0 %uint_1 |
| %27 = OpCompositeExtract %v3half %value_param 1 |
| OpStore %25 %27 |
| %28 = OpAccessChain %_ptr_StorageBuffer_v3half %7 %uint_0 %uint_2 |
| %30 = OpCompositeExtract %v3half %value_param 2 |
| OpStore %28 %30 |
| %31 = OpAccessChain %_ptr_StorageBuffer_v3half %7 %uint_0 %uint_3 |
| %33 = OpCompositeExtract %v3half %value_param 3 |
| OpStore %31 %33 |
| OpReturn |
| OpFunctionEnd |