blob: 523f89d78280cc30263b8102c0dffde673d808b8 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 32
; 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 4
OpDecorate %out DescriptorSet 0
OpDecorate %out Binding 0
%half = OpTypeFloat 16
%v2half = OpTypeVector %half 2
%mat4v2half = OpTypeMatrix %v2half 4
%4 = OpConstantNull %half
%half_0x1p_0 = OpConstant %half 0x1p+0
%6 = OpConstantComposite %v2half %4 %half_0x1p_0
%half_0x1p_1 = OpConstant %half 0x1p+1
%half_0x1_8p_1 = OpConstant %half 0x1.8p+1
%9 = OpConstantComposite %v2half %half_0x1p_1 %half_0x1_8p_1
%half_0x1p_2 = OpConstant %half 0x1p+2
%half_0x1_4p_2 = OpConstant %half 0x1.4p+2
%12 = OpConstantComposite %v2half %half_0x1p_2 %half_0x1_4p_2
%half_0x1_8p_2 = OpConstant %half 0x1.8p+2
%half_0x1_cp_2 = OpConstant %half 0x1.cp+2
%15 = OpConstantComposite %v2half %half_0x1_8p_2 %half_0x1_cp_2
%16 = OpConstantComposite %mat4v2half %6 %9 %12 %15
%_ptr_Private_mat4v2half = OpTypePointer Private %mat4v2half
%m = OpVariable %_ptr_Private_mat4v2half Private %16
%out_block = OpTypeStruct %mat4v2half
%_ptr_StorageBuffer_out_block = OpTypePointer StorageBuffer %out_block
%out = OpVariable %_ptr_StorageBuffer_out_block StorageBuffer
%void = OpTypeVoid
%22 = OpTypeFunction %void
%uint = OpTypeInt 32 0
%uint_0 = OpConstant %uint 0
%_ptr_StorageBuffer_mat4v2half = OpTypePointer StorageBuffer %mat4v2half
%f = OpFunction %void None %22
%25 = OpLabel
%29 = OpAccessChain %_ptr_StorageBuffer_mat4v2half %out %uint_0
%31 = OpLoad %mat4v2half %m
OpStore %29 %31
OpReturn
OpFunctionEnd