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

@@ -221,11 +221,8 @@ gl_FragCoord origin is upper left
Name 89 "pos"
Name 92 "@entryPointOutput"
Name 93 "param"
MemberDecorate 19(sb_t) 0 NonWritable
MemberDecorate 19(sb_t) 0 Offset 0
MemberDecorate 19(sb_t) 1 NonWritable
MemberDecorate 19(sb_t) 1 Offset 12
MemberDecorate 19(sb_t) 2 NonWritable
MemberDecorate 19(sb_t) 2 Offset 16
Decorate 20 ArrayStride 32
MemberDecorate 21(sbuf) 0 NonWritable