blob: 0d997ecee80d8b67f388d7a935ca6bac3ad17f88 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 39
; Schema: 0
OpCapability Shader
OpCapability Float16
OpCapability UniformAndStorageBuffer16BitAccess
OpCapability StorageBuffer16BitAccess
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %f "f"
OpExecutionMode %f LocalSize 1 1 1
OpName %m "m"
OpName %out_block "out_block"
OpMemberName %out_block 0 "inner"
OpName %out "out"
OpName %f "f"
OpDecorate %out_block Block
OpMemberDecorate %out_block 0 Offset 0
OpMemberDecorate %out_block 0 ColMajor
OpMemberDecorate %out_block 0 MatrixStride 8
OpDecorate %out DescriptorSet 0
OpDecorate %out Binding 0
%half = OpTypeFloat 16
%v4half = OpTypeVector %half 4
%mat4v4half = OpTypeMatrix %v4half 4
%4 = OpConstantNull %half
%half_0x1p_0 = OpConstant %half 0x1p+0
%half_0x1p_1 = OpConstant %half 0x1p+1
%half_0x1_8p_1 = OpConstant %half 0x1.8p+1
%8 = OpConstantComposite %v4half %4 %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
%half_0x1_cp_2 = OpConstant %half 0x1.cp+2
%13 = OpConstantComposite %v4half %half_0x1p_2 %half_0x1_4p_2 %half_0x1_8p_2 %half_0x1_cp_2
%half_0x1p_3 = OpConstant %half 0x1p+3
%half_0x1_2p_3 = OpConstant %half 0x1.2p+3
%half_0x1_4p_3 = OpConstant %half 0x1.4p+3
%half_0x1_6p_3 = OpConstant %half 0x1.6p+3
%18 = OpConstantComposite %v4half %half_0x1p_3 %half_0x1_2p_3 %half_0x1_4p_3 %half_0x1_6p_3
%half_0x1_8p_3 = OpConstant %half 0x1.8p+3
%half_0x1_ap_3 = OpConstant %half 0x1.ap+3
%half_0x1_cp_3 = OpConstant %half 0x1.cp+3
%half_0x1_ep_3 = OpConstant %half 0x1.ep+3
%23 = OpConstantComposite %v4half %half_0x1_8p_3 %half_0x1_ap_3 %half_0x1_cp_3 %half_0x1_ep_3
%24 = OpConstantComposite %mat4v4half %8 %13 %18 %23
%_ptr_Private_mat4v4half = OpTypePointer Private %mat4v4half
%m = OpVariable %_ptr_Private_mat4v4half Private %24
%out_block = OpTypeStruct %mat4v4half
%_ptr_StorageBuffer_out_block = OpTypePointer StorageBuffer %out_block
%out = OpVariable %_ptr_StorageBuffer_out_block StorageBuffer
%void = OpTypeVoid
%30 = OpTypeFunction %void
%uint = OpTypeInt 32 0
%uint_0 = OpConstant %uint 0
%_ptr_StorageBuffer_mat4v4half = OpTypePointer StorageBuffer %mat4v4half
%f = OpFunction %void None %30
%33 = OpLabel
%37 = OpAccessChain %_ptr_StorageBuffer_mat4v4half %out %uint_0
%38 = OpLoad %mat4v4half %m
OpStore %37 %38
OpReturn
OpFunctionEnd