| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 50 |
| ; 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 |
| %v2half = OpTypeVector %half 2 |
| %mat4v2half = OpTypeMatrix %v2half 4 |
| %half_0x1p_0 = OpConstant %half 0x1p+0 |
| %half_0x1p_1 = OpConstant %half 0x1p+1 |
| %6 = OpConstantComposite %v2half %half_0x1p_0 %half_0x1p_1 |
| %half_0x1_8p_1 = OpConstant %half 0x1.8p+1 |
| %half_0x1p_2 = OpConstant %half 0x1p+2 |
| %9 = OpConstantComposite %v2half %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 |
| %12 = OpConstantComposite %v2half %half_0x1_4p_2 %half_0x1_8p_2 |
| %half_0x1_cp_2 = OpConstant %half 0x1.cp+2 |
| %half_0x1p_3 = OpConstant %half 0x1p+3 |
| %15 = OpConstantComposite %v2half %half_0x1_cp_2 %half_0x1p_3 |
| %16 = OpConstantComposite %mat4v2half %6 %9 %12 %15 |
| %_ptr_Private_mat4v2half = OpTypePointer Private %mat4v2half |
| %u = OpVariable %_ptr_Private_mat4v2half Private %16 |
| %void = OpTypeVoid |
| %19 = OpTypeFunction %void |
| %float = OpTypeFloat 32 |
| %v2float = OpTypeVector %float 2 |
| %mat4v2float = OpTypeMatrix %v2float 4 |
| %int = OpTypeInt 32 1 |
| %30 = OpConstantNull %int |
| %_ptr_Private_v2half = OpTypePointer Private %v2half |
| %int_1 = OpConstant %int 1 |
| %int_2 = OpConstant %int 2 |
| %int_3 = OpConstant %int 3 |
| %_ptr_Function_mat4v2float = OpTypePointer Function %mat4v2float |
| %49 = OpConstantNull %mat4v2float |
| %unused_entry_point = OpFunction %void None %19 |
| %22 = OpLabel |
| OpReturn |
| OpFunctionEnd |
| %f = OpFunction %void None %19 |
| %24 = OpLabel |
| %v = OpVariable %_ptr_Function_mat4v2float Function %49 |
| %32 = OpAccessChain %_ptr_Private_v2half %u %30 |
| %33 = OpLoad %v2half %32 |
| %28 = OpFConvert %v2float %33 |
| %36 = OpAccessChain %_ptr_Private_v2half %u %int_1 |
| %37 = OpLoad %v2half %36 |
| %34 = OpFConvert %v2float %37 |
| %40 = OpAccessChain %_ptr_Private_v2half %u %int_2 |
| %41 = OpLoad %v2half %40 |
| %38 = OpFConvert %v2float %41 |
| %44 = OpAccessChain %_ptr_Private_v2half %u %int_3 |
| %45 = OpLoad %v2half %44 |
| %42 = OpFConvert %v2float %45 |
| %46 = OpCompositeConstruct %mat4v2float %28 %34 %38 %42 |
| OpStore %v %46 |
| OpReturn |
| OpFunctionEnd |