blob: 15cf9f6150dc3a0a04bd37012ab4325a2efb97fd [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 20
; Schema: 0
OpCapability Shader
OpCapability Float16
OpCapability UniformAndStorageBuffer16BitAccess
OpCapability StorageBuffer16BitAccess
OpCapability StorageInputOutput16
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %f "f"
OpExecutionMode %f LocalSize 1 1 1
OpName %out_block "out_block"
OpMemberName %out_block 0 "inner"
OpName %out "out"
OpName %f "f"
OpName %m "m"
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
%mat3v4half = OpTypeMatrix %v4half 3
%out_block = OpTypeStruct %mat3v4half
%_ptr_StorageBuffer_out_block = OpTypePointer StorageBuffer %out_block
%out = OpVariable %_ptr_StorageBuffer_out_block StorageBuffer
%void = OpTypeVoid
%7 = OpTypeFunction %void
%11 = OpConstantNull %mat3v4half
%_ptr_Function_mat3v4half = OpTypePointer Function %mat3v4half
%uint = OpTypeInt 32 0
%uint_0 = OpConstant %uint 0
%_ptr_StorageBuffer_mat3v4half = OpTypePointer StorageBuffer %mat3v4half
%f = OpFunction %void None %7
%10 = OpLabel
%m = OpVariable %_ptr_Function_mat3v4half Function %11
OpStore %m %11
%17 = OpAccessChain %_ptr_StorageBuffer_mat3v4half %out %uint_0
%19 = OpLoad %mat3v4half %m
OpStore %17 %19
OpReturn
OpFunctionEnd