blob: f1b7067f7ef395ab6660d00b27972a022ef2ccce [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"
%float = OpTypeFloat 32
%v4float = OpTypeVector %float 4
%mat3v4float = OpTypeMatrix %v4float 3
%float_1 = OpConstant %float 1
%float_2 = OpConstant %float 2
%float_3 = OpConstant %float 3
%float_4 = OpConstant %float 4
%8 = OpConstantComposite %v4float %float_1 %float_2 %float_3 %float_4
%float_5 = OpConstant %float 5
%float_6 = OpConstant %float 6
%float_7 = OpConstant %float 7
%float_8 = OpConstant %float 8
%13 = OpConstantComposite %v4float %float_5 %float_6 %float_7 %float_8
%float_9 = OpConstant %float 9
%float_10 = OpConstant %float 10
%float_11 = OpConstant %float 11
%float_12 = OpConstant %float 12
%18 = OpConstantComposite %v4float %float_9 %float_10 %float_11 %float_12
%19 = OpConstantComposite %mat3v4float %8 %13 %18
%_ptr_Private_mat3v4float = OpTypePointer Private %mat3v4float
%u = OpVariable %_ptr_Private_mat3v4float Private %19
%void = OpTypeVoid
%22 = OpTypeFunction %void
%half = OpTypeFloat 16
%v4half = OpTypeVector %half 4
%mat3v4half = OpTypeMatrix %v4half 3
%int = OpTypeInt 32 1
%33 = OpConstantNull %int
%_ptr_Private_v4float = OpTypePointer Private %v4float
%int_1 = OpConstant %int 1
%int_2 = OpConstant %int 2
%_ptr_Function_mat3v4half = OpTypePointer Function %mat3v4half
%48 = OpConstantNull %mat3v4half
%unused_entry_point = OpFunction %void None %22
%25 = OpLabel
OpReturn
OpFunctionEnd
%f = OpFunction %void None %22
%27 = OpLabel
%v = OpVariable %_ptr_Function_mat3v4half Function %48
%35 = OpAccessChain %_ptr_Private_v4float %u %33
%36 = OpLoad %v4float %35
%31 = OpFConvert %v4half %36
%39 = OpAccessChain %_ptr_Private_v4float %u %int_1
%40 = OpLoad %v4float %39
%37 = OpFConvert %v4half %40
%43 = OpAccessChain %_ptr_Private_v4float %u %int_2
%44 = OpLoad %v4float %43
%41 = OpFConvert %v4half %44
%45 = OpCompositeConstruct %mat3v4half %31 %37 %41
OpStore %v %45
OpReturn
OpFunctionEnd