blob: 3c9bd736adb7d6b98efee773d742d99c33e77904 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 19
; Schema: 0
OpCapability Shader
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 16
OpDecorate %out DescriptorSet 0
OpDecorate %out Binding 0
%float = OpTypeFloat 32
%v4float = OpTypeVector %float 4
%mat2v4float = OpTypeMatrix %v4float 2
%4 = OpConstantNull %mat2v4float
%_ptr_Private_mat2v4float = OpTypePointer Private %mat2v4float
%m = OpVariable %_ptr_Private_mat2v4float Private %4
%out_block = OpTypeStruct %mat2v4float
%_ptr_StorageBuffer_out_block = OpTypePointer StorageBuffer %out_block
%out = OpVariable %_ptr_StorageBuffer_out_block StorageBuffer
%void = OpTypeVoid
%10 = OpTypeFunction %void
%uint = OpTypeInt 32 0
%uint_0 = OpConstant %uint 0
%_ptr_StorageBuffer_mat2v4float = OpTypePointer StorageBuffer %mat2v4float
%f = OpFunction %void None %10
%13 = OpLabel
%17 = OpAccessChain %_ptr_StorageBuffer_mat2v4float %out %uint_0
%18 = OpLoad %mat2v4float %m
OpStore %17 %18
OpReturn
OpFunctionEnd