| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 56 |
| ; 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 %t "t" |
| OpName %unused_entry_point "unused_entry_point" |
| OpName %m "m" |
| OpName %f "f" |
| OpName %v "v" |
| %half = OpTypeFloat 16 |
| %_ptr_Private_half = OpTypePointer Private %half |
| %4 = OpConstantNull %half |
| %t = OpVariable %_ptr_Private_half Private %4 |
| %void = OpTypeVoid |
| %5 = OpTypeFunction %void |
| %v3half = OpTypeVector %half 3 |
| %mat4v3half = OpTypeMatrix %v3half 4 |
| %9 = OpTypeFunction %mat4v3half |
| %half_0x1p_0 = OpConstant %half 0x1p+0 |
| %half_0x1p_1 = OpConstant %half 0x1p+1 |
| %half_0x1_8p_1 = OpConstant %half 0x1.8p+1 |
| %19 = OpConstantComposite %v3half %half_0x1p_0 %half_0x1p_1 %half_0x1_8p_1 |
| %half_0x1p_2 = OpConstant %half 0x1p+2 |
| %half_0x1_4p_2 = OpConstant %half 0x1.4p+2 |
| %half_0x1_8p_2 = OpConstant %half 0x1.8p+2 |
| %23 = OpConstantComposite %v3half %half_0x1p_2 %half_0x1_4p_2 %half_0x1_8p_2 |
| %half_0x1_cp_2 = OpConstant %half 0x1.cp+2 |
| %half_0x1p_3 = OpConstant %half 0x1p+3 |
| %half_0x1_2p_3 = OpConstant %half 0x1.2p+3 |
| %27 = OpConstantComposite %v3half %half_0x1_cp_2 %half_0x1p_3 %half_0x1_2p_3 |
| %half_0x1_4p_3 = OpConstant %half 0x1.4p+3 |
| %half_0x1_6p_3 = OpConstant %half 0x1.6p+3 |
| %half_0x1_8p_3 = OpConstant %half 0x1.8p+3 |
| %31 = OpConstantComposite %v3half %half_0x1_4p_3 %half_0x1_6p_3 %half_0x1_8p_3 |
| %32 = OpConstantComposite %mat4v3half %19 %23 %27 %31 |
| %float = OpTypeFloat 32 |
| %v3float = OpTypeVector %float 3 |
| %mat4v3float = OpTypeMatrix %v3float 4 |
| %int = OpTypeInt 32 1 |
| %41 = OpConstantNull %int |
| %int_1 = OpConstant %int 1 |
| %int_2 = OpConstant %int 2 |
| %int_3 = OpConstant %int 3 |
| %_ptr_Function_mat4v3float = OpTypePointer Function %mat4v3float |
| %55 = OpConstantNull %mat4v3float |
| %unused_entry_point = OpFunction %void None %5 |
| %8 = OpLabel |
| OpReturn |
| OpFunctionEnd |
| %m = OpFunction %mat4v3half None %9 |
| %13 = OpLabel |
| %14 = OpLoad %half %t |
| %16 = OpFAdd %half %14 %half_0x1p_0 |
| OpStore %t %16 |
| OpReturnValue %32 |
| OpFunctionEnd |
| %f = OpFunction %void None %5 |
| %34 = OpLabel |
| %v = OpVariable %_ptr_Function_mat4v3float Function %55 |
| %35 = OpFunctionCall %mat4v3half %m |
| %42 = OpCompositeExtract %v3half %35 0 |
| %39 = OpFConvert %v3float %42 |
| %45 = OpCompositeExtract %v3half %35 1 |
| %43 = OpFConvert %v3float %45 |
| %48 = OpCompositeExtract %v3half %35 2 |
| %46 = OpFConvert %v3float %48 |
| %51 = OpCompositeExtract %v3half %35 3 |
| %49 = OpFConvert %v3float %51 |
| %52 = OpCompositeConstruct %mat4v3float %39 %43 %46 %49 |
| OpStore %v %52 |
| OpReturn |
| OpFunctionEnd |