Don't emit duplicate decorations. (#3635)
It is invalid if the same decoration is applied to the same id multiple times. This adds a check before adding a decoration that the decoration is not already in the list. If it is, then the duplicate is not added. Fixes #3627
This commit is contained in:
parent
7c40de7aa2
commit
33c7e30860
575 changed files with 3482 additions and 3414 deletions
|
|
@ -28,21 +28,21 @@ spv.bufferhandle4.frag
|
|||
MemberName 19(t5) 0 "m"
|
||||
Name 21 "s5"
|
||||
Name 43 "b"
|
||||
Decorate 8(t4) Block
|
||||
MemberDecorate 8(t4) 0 Offset 0
|
||||
MemberDecorate 8(t4) 1 Offset 8
|
||||
Decorate 8(t4) Block
|
||||
Decorate 10(t3) Block
|
||||
MemberDecorate 10(t3) 0 Offset 0
|
||||
MemberDecorate 10(t3) 1 Offset 8
|
||||
Decorate 10(t3) Block
|
||||
Decorate 11(t4) Block
|
||||
MemberDecorate 11(t4) 0 Offset 0
|
||||
MemberDecorate 11(t4) 1 Offset 8
|
||||
Decorate 11(t4) Block
|
||||
Decorate 13(x) DescriptorSet 1
|
||||
Decorate 13(x) Binding 2
|
||||
MemberDecorate 19(t5) 0 Offset 0
|
||||
Decorate 13(x) DescriptorSet 1
|
||||
Decorate 19(t5) Block
|
||||
Decorate 21(s5) DescriptorSet 0
|
||||
MemberDecorate 19(t5) 0 Offset 0
|
||||
Decorate 21(s5) Binding 0
|
||||
Decorate 21(s5) DescriptorSet 0
|
||||
Decorate 47 DecorationAliasedPointerEXT
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue