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
|
|
@ -39,19 +39,19 @@ WARNING: 0:12: varying deprecated in version 130; may be removed in future relea
|
|||
Name 297 "blend"
|
||||
Name 303 "scale"
|
||||
Name 304 "t"
|
||||
Decorate 32(texSampler1D) DescriptorSet 0
|
||||
Decorate 32(texSampler1D) Binding 0
|
||||
Decorate 32(texSampler1D) DescriptorSet 0
|
||||
Decorate 47(coords2D) Location 4
|
||||
Decorate 76(texSampler2D) DescriptorSet 0
|
||||
Decorate 76(texSampler2D) Binding 1
|
||||
Decorate 104(texSampler3D) DescriptorSet 0
|
||||
Decorate 76(texSampler2D) DescriptorSet 0
|
||||
Decorate 104(texSampler3D) Binding 2
|
||||
Decorate 130(texSamplerCube) DescriptorSet 0
|
||||
Decorate 104(texSampler3D) DescriptorSet 0
|
||||
Decorate 130(texSamplerCube) Binding 3
|
||||
Decorate 145(shadowSampler1D) DescriptorSet 0
|
||||
Decorate 130(texSamplerCube) DescriptorSet 0
|
||||
Decorate 145(shadowSampler1D) Binding 4
|
||||
Decorate 164(shadowSampler2D) DescriptorSet 0
|
||||
Decorate 145(shadowSampler1D) DescriptorSet 0
|
||||
Decorate 164(shadowSampler2D) Binding 5
|
||||
Decorate 164(shadowSampler2D) DescriptorSet 0
|
||||
Decorate 291(gl_FragColor) Location 0
|
||||
Decorate 294(u) Location 2
|
||||
Decorate 297(blend) Location 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue