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
|
|
@ -38,29 +38,29 @@ spv.bufferhandle8.frag
|
|||
MemberName 36(blockType) 3 "d"
|
||||
MemberName 36(blockType) 4 "e"
|
||||
Name 38 "t"
|
||||
MemberDecorate 10(T1) 0 Offset 0
|
||||
Decorate 10(T1) Block
|
||||
MemberDecorate 11(T2) 0 Offset 0
|
||||
MemberDecorate 10(T1) 0 Offset 0
|
||||
Decorate 11(T2) Block
|
||||
MemberDecorate 11(T2) 0 Offset 0
|
||||
Decorate 13(x) DecorationAliasedPointerEXT
|
||||
MemberDecorate 14(Blah) 0 Offset 0
|
||||
MemberDecorate 14(Blah) 1 Offset 8
|
||||
Decorate 15 ArrayStride 16
|
||||
MemberDecorate 16(T3) 0 Offset 0
|
||||
Decorate 16(T3) Block
|
||||
Decorate 18(t3) DescriptorSet 0
|
||||
MemberDecorate 16(T3) 0 Offset 0
|
||||
Decorate 18(t3) Binding 0
|
||||
Decorate 18(t3) DescriptorSet 0
|
||||
Decorate 35(t2) Block
|
||||
MemberDecorate 35(t2) 0 Offset 0
|
||||
MemberDecorate 35(t2) 1 Offset 8
|
||||
Decorate 35(t2) Block
|
||||
Decorate 36(blockType) Block
|
||||
MemberDecorate 36(blockType) 0 Offset 0
|
||||
MemberDecorate 36(blockType) 1 Offset 4
|
||||
MemberDecorate 36(blockType) 2 Offset 8
|
||||
MemberDecorate 36(blockType) 3 Offset 12
|
||||
MemberDecorate 36(blockType) 4 Offset 16
|
||||
Decorate 36(blockType) Block
|
||||
Decorate 38(t) DescriptorSet 0
|
||||
Decorate 38(t) Binding 0
|
||||
Decorate 13(x) DecorationAliasedPointerEXT
|
||||
Decorate 38(t) DescriptorSet 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
TypeForwardPointer 6 PhysicalStorageBufferEXT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue