blob: 70c71a9367c2c104b8df8e83800eeaa8e35319dc [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 58
; 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
%mat4v4half = OpTypeMatrix %v4half 4
%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
%half_0x1_2p_3 = OpConstant %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
%18 = OpConstantComposite %v4half %half_0x1_2p_3 %half_0x1_4p_3 %half_0x1_6p_3 %half_0x1_8p_3
%half_0x1_ap_3 = OpConstant %half 0x1.ap+3
%half_0x1_cp_3 = OpConstant %half 0x1.cp+3
%half_0x1_ep_3 = OpConstant %half 0x1.ep+3
%half_0x1p_4 = OpConstant %half 0x1p+4
%23 = OpConstantComposite %v4half %half_0x1_ap_3 %half_0x1_cp_3 %half_0x1_ep_3 %half_0x1p_4
%24 = OpConstantComposite %mat4v4half %8 %13 %18 %23
%_ptr_Private_mat4v4half = OpTypePointer Private %mat4v4half
%u = OpVariable %_ptr_Private_mat4v4half Private %24
%void = OpTypeVoid
%27 = OpTypeFunction %void
%float = OpTypeFloat 32
%v4float = OpTypeVector %float 4
%mat4v4float = OpTypeMatrix %v4float 4
%int = OpTypeInt 32 1
%38 = OpConstantNull %int
%_ptr_Private_v4half = OpTypePointer Private %v4half
%int_1 = OpConstant %int 1
%int_2 = OpConstant %int 2
%int_3 = OpConstant %int 3
%_ptr_Function_mat4v4float = OpTypePointer Function %mat4v4float
%57 = OpConstantNull %mat4v4float
%unused_entry_point = OpFunction %void None %27
%30 = OpLabel
OpReturn
OpFunctionEnd
%f = OpFunction %void None %27
%32 = OpLabel
%v = OpVariable %_ptr_Function_mat4v4float Function %57
%40 = OpAccessChain %_ptr_Private_v4half %u %38
%41 = OpLoad %v4half %40
%36 = OpFConvert %v4float %41
%44 = OpAccessChain %_ptr_Private_v4half %u %int_1
%45 = OpLoad %v4half %44
%42 = OpFConvert %v4float %45
%48 = OpAccessChain %_ptr_Private_v4half %u %int_2
%49 = OpLoad %v4half %48
%46 = OpFConvert %v4float %49
%52 = OpAccessChain %_ptr_Private_v4half %u %int_3
%53 = OpLoad %v4half %52
%50 = OpFConvert %v4float %53
%54 = OpCompositeConstruct %mat4v4float %36 %42 %46 %50
OpStore %v %54
OpReturn
OpFunctionEnd