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
|
|
@ -23,22 +23,22 @@ spv.precisionNonESSamp.frag
|
|||
Decorate 9(color) RelaxedPrecision
|
||||
Decorate 9(color) Location 0
|
||||
Decorate 13(s) RelaxedPrecision
|
||||
Decorate 13(s) DescriptorSet 0
|
||||
Decorate 13(s) Binding 0
|
||||
Decorate 13(s) DescriptorSet 0
|
||||
Decorate 14 RelaxedPrecision
|
||||
Decorate 17(v2) RelaxedPrecision
|
||||
Decorate 17(v2) Location 0
|
||||
Decorate 18 RelaxedPrecision
|
||||
Decorate 19 RelaxedPrecision
|
||||
Decorate 23(t) DescriptorSet 0
|
||||
Decorate 23(t) Binding 1
|
||||
Decorate 23(t) DescriptorSet 0
|
||||
Decorate 27(v3) RelaxedPrecision
|
||||
Decorate 27(v3) Location 1
|
||||
Decorate 28 RelaxedPrecision
|
||||
Decorate 31(vi1) RelaxedPrecision
|
||||
Decorate 34(i1) RelaxedPrecision
|
||||
Decorate 34(i1) DescriptorSet 0
|
||||
Decorate 34(i1) Binding 2
|
||||
Decorate 34(i1) DescriptorSet 0
|
||||
Decorate 35 RelaxedPrecision
|
||||
Decorate 39(iv2) RelaxedPrecision
|
||||
Decorate 39(iv2) Flat
|
||||
|
|
@ -46,8 +46,8 @@ spv.precisionNonESSamp.frag
|
|||
Decorate 40 RelaxedPrecision
|
||||
Decorate 41 RelaxedPrecision
|
||||
Decorate 42(vi2) RelaxedPrecision
|
||||
Decorate 43(i2) DescriptorSet 0
|
||||
Decorate 43(i2) Binding 3
|
||||
Decorate 43(i2) DescriptorSet 0
|
||||
Decorate 45 RelaxedPrecision
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue