blob: 243d6015043e8c203e68d539a55275d04f52d6c6 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 38
; 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
%mat2v3half = OpTypeMatrix %v3half 2
%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
%12 = OpConstantComposite %mat2v3half %7 %11
%_ptr_Private_mat2v3half = OpTypePointer Private %mat2v3half
%u = OpVariable %_ptr_Private_mat2v3half Private %12
%void = OpTypeVoid
%15 = OpTypeFunction %void
%float = OpTypeFloat 32
%v3float = OpTypeVector %float 3
%mat2v3float = OpTypeMatrix %v3float 2
%int = OpTypeInt 32 1
%26 = OpConstantNull %int
%_ptr_Private_v3half = OpTypePointer Private %v3half
%int_1 = OpConstant %int 1
%_ptr_Function_mat2v3float = OpTypePointer Function %mat2v3float
%37 = OpConstantNull %mat2v3float
%unused_entry_point = OpFunction %void None %15
%18 = OpLabel
OpReturn
OpFunctionEnd
%f = OpFunction %void None %15
%20 = OpLabel
%v = OpVariable %_ptr_Function_mat2v3float Function %37
%28 = OpAccessChain %_ptr_Private_v3half %u %26
%29 = OpLoad %v3half %28
%24 = OpFConvert %v3float %29
%32 = OpAccessChain %_ptr_Private_v3half %u %int_1
%33 = OpLoad %v3half %32
%30 = OpFConvert %v3float %33
%34 = OpCompositeConstruct %mat2v3float %24 %30
OpStore %v %34
OpReturn
OpFunctionEnd