SPV: Memory qualifiers should decorate top-level block members

This commit is contained in:
Rex Xu
2017-07-27 14:33:16 +08:00
parent f1f5058a3c
commit 286ca432cf
5 changed files with 3 additions and 10 deletions

View File

@@ -30,9 +30,7 @@ spv.ssbo.autoassign.frag
Name 92 "pos"
Name 95 "@entryPointOutput"
Name 96 "param"
MemberDecorate 14(BufType) 0 NonWritable
MemberDecorate 14(BufType) 0 Offset 0
MemberDecorate 14(BufType) 1 NonWritable
MemberDecorate 14(BufType) 1 Offset 16
Decorate 15 ArrayStride 32
MemberDecorate 16(SB0) 0 NonWritable