blob: 677bcafc824ff1cdafedce3247b437de9483138d [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 58
; 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
%mat4v4float = OpTypeMatrix %v4float 4
%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
%float_13 = OpConstant %float 13
%float_14 = OpConstant %float 14
%float_15 = OpConstant %float 15
%float_16 = OpConstant %float 16
%23 = OpConstantComposite %v4float %float_13 %float_14 %float_15 %float_16
%24 = OpConstantComposite %mat4v4float %8 %13 %18 %23
%_ptr_Private_mat4v4float = OpTypePointer Private %mat4v4float
%u = OpVariable %_ptr_Private_mat4v4float Private %24
%void = OpTypeVoid
%27 = OpTypeFunction %void
%half = OpTypeFloat 16
%v4half = OpTypeVector %half 4
%mat4v4half = OpTypeMatrix %v4half 4
%int = OpTypeInt 32 1
%38 = OpConstantNull %int
%_ptr_Private_v4float = OpTypePointer Private %v4float
%int_1 = OpConstant %int 1
%int_2 = OpConstant %int 2
%int_3 = OpConstant %int 3
%_ptr_Function_mat4v4half = OpTypePointer Function %mat4v4half
%57 = OpConstantNull %mat4v4half
%unused_entry_point = OpFunction %void None %27
%30 = OpLabel
OpReturn
OpFunctionEnd
%f = OpFunction %void None %27
%32 = OpLabel
%v = OpVariable %_ptr_Function_mat4v4half Function %57
%40 = OpAccessChain %_ptr_Private_v4float %u %38
%41 = OpLoad %v4float %40
%36 = OpFConvert %v4half %41
%44 = OpAccessChain %_ptr_Private_v4float %u %int_1
%45 = OpLoad %v4float %44
%42 = OpFConvert %v4half %45
%48 = OpAccessChain %_ptr_Private_v4float %u %int_2
%49 = OpLoad %v4float %48
%46 = OpFConvert %v4half %49
%52 = OpAccessChain %_ptr_Private_v4float %u %int_3
%53 = OpLoad %v4float %52
%50 = OpFConvert %v4half %53
%54 = OpCompositeConstruct %mat4v4half %36 %42 %46 %50
OpStore %v %54
OpReturn
OpFunctionEnd