| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 38 |
| ; Schema: 0 |
| OpCapability Shader |
| OpCapability Float16 |
| OpCapability UniformAndStorageBuffer16BitAccess |
| OpCapability StorageBuffer16BitAccess |
| OpCapability StorageInputOutput16 |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %unused_entry_point "unused_entry_point" |
| OpExecutionMode %unused_entry_point LocalSize 1 1 1 |
| OpName %u "u" |
| OpName %unused_entry_point "unused_entry_point" |
| OpName %f "f" |
| OpName %v "v" |
| %float = OpTypeFloat 32 |
| %v3float = OpTypeVector %float 3 |
| %mat2v3float = OpTypeMatrix %v3float 2 |
| %float_1 = OpConstant %float 1 |
| %float_2 = OpConstant %float 2 |
| %float_3 = OpConstant %float 3 |
| %7 = OpConstantComposite %v3float %float_1 %float_2 %float_3 |
| %float_4 = OpConstant %float 4 |
| %float_5 = OpConstant %float 5 |
| %float_6 = OpConstant %float 6 |
| %11 = OpConstantComposite %v3float %float_4 %float_5 %float_6 |
| %12 = OpConstantComposite %mat2v3float %7 %11 |
| %_ptr_Private_mat2v3float = OpTypePointer Private %mat2v3float |
| %u = OpVariable %_ptr_Private_mat2v3float Private %12 |
| %void = OpTypeVoid |
| %15 = OpTypeFunction %void |
| %half = OpTypeFloat 16 |
| %v3half = OpTypeVector %half 3 |
| %mat2v3half = OpTypeMatrix %v3half 2 |
| %int = OpTypeInt 32 1 |
| %26 = OpConstantNull %int |
| %_ptr_Private_v3float = OpTypePointer Private %v3float |
| %int_1 = OpConstant %int 1 |
| %_ptr_Function_mat2v3half = OpTypePointer Function %mat2v3half |
| %37 = OpConstantNull %mat2v3half |
| %unused_entry_point = OpFunction %void None %15 |
| %18 = OpLabel |
| OpReturn |
| OpFunctionEnd |
| %f = OpFunction %void None %15 |
| %20 = OpLabel |
| %v = OpVariable %_ptr_Function_mat2v3half Function %37 |
| %28 = OpAccessChain %_ptr_Private_v3float %u %26 |
| %29 = OpLoad %v3float %28 |
| %24 = OpFConvert %v3half %29 |
| %32 = OpAccessChain %_ptr_Private_v3float %u %int_1 |
| %33 = OpLoad %v3float %32 |
| %30 = OpFConvert %v3half %33 |
| %34 = OpCompositeConstruct %mat2v3half %24 %30 |
| OpStore %v %34 |
| OpReturn |
| OpFunctionEnd |