Apply GLSL memory decorations to top-level OpVariable
Apply memory decorations from GLSL source to the top-level OpVariable. Previously, these decorations would only be applied to individual members. While this is correct behavior, it is more convenient for some front ends to see the decorations (specifically ReadOnly and WriteOnly) applied to the whole variable rather than individual members.
This commit is contained in:
parent
df3398078f
commit
5073d93ec4
39 changed files with 65 additions and 1 deletions
|
|
@ -194,6 +194,7 @@ Validation failed
|
|||
Decorate 47(sbuf2) DescriptorSet 0
|
||||
Decorate 48(sbuf2@count) Binding 0
|
||||
Decorate 48(sbuf2@count) DescriptorSet 0
|
||||
Decorate 50(sbuf) NonWritable
|
||||
Decorate 50(sbuf) Binding 10
|
||||
Decorate 50(sbuf) DescriptorSet 0
|
||||
Decorate 63(pos) Flat
|
||||
|
|
@ -207,6 +208,7 @@ Validation failed
|
|||
Decorate 75(sbuf3) BufferBlock
|
||||
MemberDecorate 75(sbuf3) 0 NonWritable
|
||||
MemberDecorate 75(sbuf3) 0 Offset 0
|
||||
Decorate 77(sbuf3) NonWritable
|
||||
Decorate 77(sbuf3) Binding 12
|
||||
Decorate 77(sbuf3) DescriptorSet 0
|
||||
2: TypeVoid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue