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
|
|
@ -52,21 +52,21 @@ spv.400.tese
|
|||
Name 91 "ivla"
|
||||
Name 92 "ivlb"
|
||||
Name 95 "ovla"
|
||||
Decorate 17(gl_PerVertex) Block
|
||||
MemberDecorate 17(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 17(gl_PerVertex) 1 BuiltIn PointSize
|
||||
MemberDecorate 17(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||
Decorate 17(gl_PerVertex) Block
|
||||
Decorate 38(gl_PatchVerticesIn) BuiltIn PatchVertices
|
||||
Decorate 41(gl_PrimitiveID) BuiltIn PrimitiveId
|
||||
Decorate 47(gl_TessCoord) BuiltIn TessCoord
|
||||
Decorate 53(gl_TessLevelOuter) Patch
|
||||
Decorate 53(gl_TessLevelOuter) BuiltIn TessLevelOuter
|
||||
Decorate 61(gl_TessLevelInner) Patch
|
||||
Decorate 53(gl_TessLevelOuter) Patch
|
||||
Decorate 61(gl_TessLevelInner) BuiltIn TessLevelInner
|
||||
Decorate 61(gl_TessLevelInner) Patch
|
||||
Decorate 64(gl_PerVertex) Block
|
||||
MemberDecorate 64(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 64(gl_PerVertex) 1 BuiltIn PointSize
|
||||
MemberDecorate 64(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||
Decorate 64(gl_PerVertex) Block
|
||||
Decorate 75(patchIn) Patch
|
||||
Decorate 75(patchIn) Location 0
|
||||
Decorate 79(inb) Location 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue