blob: 2c801204fa04ac3191589ba1866cc27b3fd509d0 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 43
; 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"
%float = OpTypeFloat 32
%v2float = OpTypeVector %float 2
%mat3v2float = OpTypeMatrix %v2float 3
%float_1 = OpConstant %float 1
%float_2 = OpConstant %float 2
%6 = OpConstantComposite %v2float %float_1 %float_2
%float_3 = OpConstant %float 3
%float_4 = OpConstant %float 4
%9 = OpConstantComposite %v2float %float_3 %float_4
%float_5 = OpConstant %float 5
%float_6 = OpConstant %float 6
%12 = OpConstantComposite %v2float %float_5 %float_6
%13 = OpConstantComposite %mat3v2float %6 %9 %12
%_ptr_Private_mat3v2float = OpTypePointer Private %mat3v2float
%u = OpVariable %_ptr_Private_mat3v2float Private %13
%void = OpTypeVoid
%16 = OpTypeFunction %void
%half = OpTypeFloat 16
%v2half = OpTypeVector %half 2
%mat3v2half = OpTypeMatrix %v2half 3
%int = OpTypeInt 32 1
%27 = OpConstantNull %int
%_ptr_Private_v2float = OpTypePointer Private %v2float
%int_1 = OpConstant %int 1
%int_2 = OpConstant %int 2
%_ptr_Function_mat3v2half = OpTypePointer Function %mat3v2half
%42 = OpConstantNull %mat3v2half
%unused_entry_point = OpFunction %void None %16
%19 = OpLabel
OpReturn
OpFunctionEnd
%f = OpFunction %void None %16
%21 = OpLabel
%v = OpVariable %_ptr_Function_mat3v2half Function %42
%29 = OpAccessChain %_ptr_Private_v2float %u %27
%30 = OpLoad %v2float %29
%25 = OpFConvert %v2half %30
%33 = OpAccessChain %_ptr_Private_v2float %u %int_1
%34 = OpLoad %v2float %33
%31 = OpFConvert %v2half %34
%37 = OpAccessChain %_ptr_Private_v2float %u %int_2
%38 = OpLoad %v2float %37
%35 = OpFConvert %v2half %38
%39 = OpCompositeConstruct %mat3v2half %25 %31 %35
OpStore %v %39
OpReturn
OpFunctionEnd