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
|
|
@ -45,10 +45,12 @@ spv.bufferhandle13.frag
|
|||
MemberDecorate 35(t5) 0 Offset 0
|
||||
Decorate 37(s5) Binding 0
|
||||
Decorate 37(s5) DescriptorSet 0
|
||||
Decorate 42(b) Restrict
|
||||
Decorate 42(b) DecorationRestrictPointerEXT
|
||||
Decorate 47(param) DecorationAliasedPointerEXT
|
||||
Decorate 52(param) DecorationAliasedPointerEXT
|
||||
Decorate 56(g1) DecorationAliasedPointerEXT
|
||||
Decorate 57(g2) Restrict
|
||||
Decorate 57(g2) DecorationRestrictPointerEXT
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue