blob: b116d810788e102d2904482c2a214b6375cb7412 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 49
; 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
%mat3v4half = OpTypeMatrix %v4half 3
%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
%19 = OpConstantComposite %mat3v4half %8 %13 %18
%_ptr_Private_mat3v4half = OpTypePointer Private %mat3v4half
%u = OpVariable %_ptr_Private_mat3v4half Private %19
%void = OpTypeVoid
%22 = OpTypeFunction %void
%float = OpTypeFloat 32
%v4float = OpTypeVector %float 4
%mat3v4float = OpTypeMatrix %v4float 3
%int = OpTypeInt 32 1
%33 = OpConstantNull %int
%_ptr_Private_v4half = OpTypePointer Private %v4half
%int_1 = OpConstant %int 1
%int_2 = OpConstant %int 2
%_ptr_Function_mat3v4float = OpTypePointer Function %mat3v4float
%48 = OpConstantNull %mat3v4float
%unused_entry_point = OpFunction %void None %22
%25 = OpLabel
OpReturn
OpFunctionEnd
%f = OpFunction %void None %22
%27 = OpLabel
%v = OpVariable %_ptr_Function_mat3v4float Function %48
%35 = OpAccessChain %_ptr_Private_v4half %u %33
%36 = OpLoad %v4half %35
%31 = OpFConvert %v4float %36
%39 = OpAccessChain %_ptr_Private_v4half %u %int_1
%40 = OpLoad %v4half %39
%37 = OpFConvert %v4float %40
%43 = OpAccessChain %_ptr_Private_v4half %u %int_2
%44 = OpLoad %v4half %43
%41 = OpFConvert %v4float %44
%45 = OpCompositeConstruct %mat3v4float %31 %37 %41
OpStore %v %45
OpReturn
OpFunctionEnd