| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 36 |
| ; 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 |
| %mat2v2half = OpTypeMatrix %v2half 2 |
| %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 |
| %10 = OpConstantComposite %mat2v2half %6 %9 |
| %_ptr_Private_mat2v2half = OpTypePointer Private %mat2v2half |
| %u = OpVariable %_ptr_Private_mat2v2half Private %10 |
| %void = OpTypeVoid |
| %13 = OpTypeFunction %void |
| %float = OpTypeFloat 32 |
| %v2float = OpTypeVector %float 2 |
| %mat2v2float = OpTypeMatrix %v2float 2 |
| %int = OpTypeInt 32 1 |
| %24 = OpConstantNull %int |
| %_ptr_Private_v2half = OpTypePointer Private %v2half |
| %int_1 = OpConstant %int 1 |
| %_ptr_Function_mat2v2float = OpTypePointer Function %mat2v2float |
| %35 = OpConstantNull %mat2v2float |
| %unused_entry_point = OpFunction %void None %13 |
| %16 = OpLabel |
| OpReturn |
| OpFunctionEnd |
| %f = OpFunction %void None %13 |
| %18 = OpLabel |
| %v = OpVariable %_ptr_Function_mat2v2float Function %35 |
| %26 = OpAccessChain %_ptr_Private_v2half %u %24 |
| %27 = OpLoad %v2half %26 |
| %22 = OpFConvert %v2float %27 |
| %30 = OpAccessChain %_ptr_Private_v2half %u %int_1 |
| %31 = OpLoad %v2half %30 |
| %28 = OpFConvert %v2float %31 |
| %32 = OpCompositeConstruct %mat2v2float %22 %28 |
| OpStore %v %32 |
| OpReturn |
| OpFunctionEnd |