| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 40 |
| ; 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" |
| %half = OpTypeFloat 16 |
| %v4half = OpTypeVector %half 4 |
| %mat2v4half = OpTypeMatrix %v4half 2 |
| %half_0x1p_0 = OpConstant %half 0x1p+0 |
| %half_0x1p_1 = OpConstant %half 0x1p+1 |
| %half_0x1_8p_1 = OpConstant %half 0x1.8p+1 |
| %half_0x1p_2 = OpConstant %half 0x1p+2 |
| %8 = OpConstantComposite %v4half %half_0x1p_0 %half_0x1p_1 %half_0x1_8p_1 %half_0x1p_2 |
| %half_0x1_4p_2 = OpConstant %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 |
| %13 = OpConstantComposite %v4half %half_0x1_4p_2 %half_0x1_8p_2 %half_0x1_cp_2 %half_0x1p_3 |
| %14 = OpConstantComposite %mat2v4half %8 %13 |
| %_ptr_Private_mat2v4half = OpTypePointer Private %mat2v4half |
| %u = OpVariable %_ptr_Private_mat2v4half Private %14 |
| %void = OpTypeVoid |
| %17 = OpTypeFunction %void |
| %float = OpTypeFloat 32 |
| %v4float = OpTypeVector %float 4 |
| %mat2v4float = OpTypeMatrix %v4float 2 |
| %int = OpTypeInt 32 1 |
| %28 = OpConstantNull %int |
| %_ptr_Private_v4half = OpTypePointer Private %v4half |
| %int_1 = OpConstant %int 1 |
| %_ptr_Function_mat2v4float = OpTypePointer Function %mat2v4float |
| %39 = OpConstantNull %mat2v4float |
| %unused_entry_point = OpFunction %void None %17 |
| %20 = OpLabel |
| OpReturn |
| OpFunctionEnd |
| %f = OpFunction %void None %17 |
| %22 = OpLabel |
| %v = OpVariable %_ptr_Function_mat2v4float Function %39 |
| %30 = OpAccessChain %_ptr_Private_v4half %u %28 |
| %31 = OpLoad %v4half %30 |
| %26 = OpFConvert %v4float %31 |
| %34 = OpAccessChain %_ptr_Private_v4half %u %int_1 |
| %35 = OpLoad %v4half %34 |
| %32 = OpFConvert %v4float %35 |
| %36 = OpCompositeConstruct %mat2v4float %26 %32 |
| OpStore %v %36 |
| OpReturn |
| OpFunctionEnd |