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
|
|
@ -81,19 +81,19 @@ void main() {
|
|||
Name 98 "vertex_pos0"
|
||||
Name 135 "out_fragColor"
|
||||
Decorate 42 ArrayStride 4
|
||||
MemberDecorate 44(MeshVertexPositions) 0 Offset 0
|
||||
Decorate 44(MeshVertexPositions) Block
|
||||
MemberDecorate 44(MeshVertexPositions) 0 Offset 0
|
||||
Decorate 53(meshData) DecorationAliasedPointerEXT
|
||||
MemberDecorate 59(Mesh) 0 Offset 0
|
||||
Decorate 62 ArrayStride 8
|
||||
Decorate 64(PerPass_meshes) Block
|
||||
MemberDecorate 64(PerPass_meshes) 0 NonWritable
|
||||
MemberDecorate 64(PerPass_meshes) 0 Offset 0
|
||||
Decorate 64(PerPass_meshes) Block
|
||||
Decorate 73(perPass_meshes) DescriptorSet 0
|
||||
Decorate 73(perPass_meshes) Binding 0
|
||||
Decorate 73(perPass_meshes) DescriptorSet 0
|
||||
Decorate 82(tri_idx0) Flat
|
||||
Decorate 82(tri_idx0) Location 0
|
||||
Decorate 135(out_fragColor) Location 0
|
||||
Decorate 53(meshData) DecorationAliasedPointerEXT
|
||||
4: TypeVoid
|
||||
5: TypeFunction 4
|
||||
7: TypeInt 32 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue