blob: 898a0f37eeaf60d3e4c93cecfe6534a47550c2a9 [file] [log] [blame]
SKIP: FAILED
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 13
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
OpExecutionMode %unused_entry_point LocalSize 1 1 1
OpName %S "S"
OpMemberName %S 0 "m"
OpName %SSBO "SSBO"
OpName %UBO "UBO"
OpName %unused_entry_point "unused_entry_point"
OpDecorate %S Block
OpMemberDecorate %S 0 Offset 0
OpMemberDecorate %S 0 ColMajor
OpMemberDecorate %S 0 MatrixStride 8
OpDecorate %SSBO NonWritable
OpDecorate %SSBO DescriptorSet 0
OpDecorate %SSBO Binding 0
OpDecorate %UBO NonWritable
OpDecorate %UBO DescriptorSet 0
OpDecorate %UBO Binding 0
%float = OpTypeFloat 32
%v2float = OpTypeVector %float 2
%mat2v2float = OpTypeMatrix %v2float 2
%S = OpTypeStruct %mat2v2float
%_ptr_StorageBuffer_S = OpTypePointer StorageBuffer %S
%SSBO = OpVariable %_ptr_StorageBuffer_S StorageBuffer
%_ptr_Uniform_S = OpTypePointer Uniform %S
%UBO = OpVariable %_ptr_Uniform_S Uniform
%void = OpTypeVoid
%9 = OpTypeFunction %void
%unused_entry_point = OpFunction %void None %9
%12 = OpLabel
OpReturn
OpFunctionEnd
1:1: Structure id 3 decorated as Block for variable in Uniform storage class must follow relaxed uniform buffer layout rules: member 0 is a matrix with stride 8 not satisfying alignment to 16
%S = OpTypeStruct %mat2v2float