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
|
|
@ -94,15 +94,15 @@ spv.int16.amd.frag
|
|||
Name 573 "u64_to_u16"
|
||||
Name 574 "i16_to_u16"
|
||||
Name 575 "u16_to_i16"
|
||||
MemberDecorate 25(Uniforms) 0 Offset 0
|
||||
Decorate 25(Uniforms) Block
|
||||
Decorate 27 DescriptorSet 0
|
||||
MemberDecorate 25(Uniforms) 0 Offset 0
|
||||
Decorate 27 Binding 0
|
||||
Decorate 27 DescriptorSet 0
|
||||
Decorate 531(Block) Block
|
||||
MemberDecorate 531(Block) 0 Offset 0
|
||||
MemberDecorate 531(Block) 1 Offset 6
|
||||
Decorate 531(Block) Block
|
||||
Decorate 533(block) DescriptorSet 0
|
||||
Decorate 533(block) Binding 1
|
||||
Decorate 533(block) DescriptorSet 0
|
||||
Decorate 535(iu16v) Flat
|
||||
Decorate 535(iu16v) Location 0
|
||||
Decorate 537(ii16) Flat
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue