blob: a584ac37ea7916e05f717584e3e2bd9da36a6a4e [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 54
; 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
%v3half = OpTypeVector %half 3
%mat4v3half = OpTypeMatrix %v3half 4
%half_0x1p_0 = OpConstant %half 0x1p+0
%half_0x1p_1 = OpConstant %half 0x1p+1
%half_0x1_8p_1 = OpConstant %half 0x1.8p+1
%7 = 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
%11 = 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
%15 = 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
%19 = OpConstantComposite %v3half %half_0x1_4p_3 %half_0x1_6p_3 %half_0x1_8p_3
%20 = OpConstantComposite %mat4v3half %7 %11 %15 %19
%_ptr_Private_mat4v3half = OpTypePointer Private %mat4v3half
%u = OpVariable %_ptr_Private_mat4v3half Private %20
%void = OpTypeVoid
%23 = OpTypeFunction %void
%float = OpTypeFloat 32
%v3float = OpTypeVector %float 3
%mat4v3float = OpTypeMatrix %v3float 4
%int = OpTypeInt 32 1
%34 = OpConstantNull %int
%_ptr_Private_v3half = OpTypePointer Private %v3half
%int_1 = OpConstant %int 1
%int_2 = OpConstant %int 2
%int_3 = OpConstant %int 3
%_ptr_Function_mat4v3float = OpTypePointer Function %mat4v3float
%53 = OpConstantNull %mat4v3float
%unused_entry_point = OpFunction %void None %23
%26 = OpLabel
OpReturn
OpFunctionEnd
%f = OpFunction %void None %23
%28 = OpLabel
%v = OpVariable %_ptr_Function_mat4v3float Function %53
%36 = OpAccessChain %_ptr_Private_v3half %u %34
%37 = OpLoad %v3half %36
%32 = OpFConvert %v3float %37
%40 = OpAccessChain %_ptr_Private_v3half %u %int_1
%41 = OpLoad %v3half %40
%38 = OpFConvert %v3float %41
%44 = OpAccessChain %_ptr_Private_v3half %u %int_2
%45 = OpLoad %v3half %44
%42 = OpFConvert %v3float %45
%48 = OpAccessChain %_ptr_Private_v3half %u %int_3
%49 = OpLoad %v3half %48
%46 = OpFConvert %v3float %49
%50 = OpCompositeConstruct %mat4v3float %32 %38 %42 %46
OpStore %v %50
OpReturn
OpFunctionEnd