blob: dde7dd7629fe914b504e443485744eafe1262ab9 [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 %assign_and_preserve_padding_out "assign_and_preserve_padding_out"
OpName %value "value"
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
%v3half = OpTypeVector %half 3
%mat2v3half = OpTypeMatrix %v3half 2
%4 = OpConstantNull %mat2v3half
%_ptr_Private_mat2v3half = OpTypePointer Private %mat2v3half
%m = OpVariable %_ptr_Private_mat2v3half Private %4
%out_block = OpTypeStruct %mat2v3half
%_ptr_StorageBuffer_out_block = OpTypePointer StorageBuffer %out_block
%out = OpVariable %_ptr_StorageBuffer_out_block StorageBuffer
%void = OpTypeVoid
%10 = OpTypeFunction %void %mat2v3half
%uint = OpTypeInt 32 0
%uint_0 = OpConstant %uint 0
%int = OpTypeInt 32 1
%18 = OpConstantNull %int
%_ptr_StorageBuffer_v3half = OpTypePointer StorageBuffer %v3half
%21 = OpConstantNull %uint
%int_1 = OpConstant %int 1
%uint_1 = OpConstant %uint 1
%27 = OpTypeFunction %void
%assign_and_preserve_padding_out = OpFunction %void None %10
%value = OpFunctionParameter %mat2v3half
%14 = OpLabel
%20 = OpAccessChain %_ptr_StorageBuffer_v3half %out %uint_0 %18
%22 = OpCompositeExtract %v3half %value 0
OpStore %20 %22
%24 = OpAccessChain %_ptr_StorageBuffer_v3half %out %uint_0 %int_1
%26 = OpCompositeExtract %v3half %value 1
OpStore %24 %26
OpReturn
OpFunctionEnd
%f = OpFunction %void None %27
%29 = OpLabel
%31 = OpLoad %mat2v3half %m
%30 = OpFunctionCall %void %assign_and_preserve_padding_out %31
OpReturn
OpFunctionEnd