Front-end: Fix missing tessellation shader built-in qualifiers.
The gl_in array has a special path due to context-specific gl_MaxPatchVertices, making the code out of order for tagging built-ins. This commit moves the tagging to the correct location. This also fixes issue #80.
This commit is contained in:
parent
e690332c3c
commit
b5c046e58b
12 changed files with 245 additions and 218 deletions
|
|
@ -47,6 +47,9 @@ Linked tessellation control stage:
|
|||
Name 85 "ivlb"
|
||||
Name 88 "ovla"
|
||||
Name 89 "ovlb"
|
||||
MemberDecorate 19(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 19(gl_PerVertex) 1 BuiltIn PointSize
|
||||
MemberDecorate 19(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||
Decorate 19(gl_PerVertex) Block
|
||||
Decorate 40(gl_PatchVerticesIn) BuiltIn PatchVertices
|
||||
Decorate 43(gl_PrimitiveID) BuiltIn PrimitiveId
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue