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
|
|
@ -17,10 +17,10 @@ triangle order = none
|
|||
0:13 3 (const uint)
|
||||
0:13 Constant:
|
||||
0:13 2 (const int)
|
||||
0:13 direct index (temp float)
|
||||
0:13 gl_CullDistance: direct index for structure (in implicitly-sized array of float)
|
||||
0:13 direct index (temp block{in implicitly-sized array of float gl_CullDistance})
|
||||
0:13 'gl_in' (in 32-element array of block{in implicitly-sized array of float gl_CullDistance})
|
||||
0:13 direct index (temp float CullDistance)
|
||||
0:13 gl_CullDistance: direct index for structure (in implicitly-sized array of float CullDistance)
|
||||
0:13 direct index (temp block{in implicitly-sized array of float CullDistance gl_CullDistance})
|
||||
0:13 'gl_in' (in 32-element array of block{in implicitly-sized array of float CullDistance gl_CullDistance})
|
||||
0:13 Constant:
|
||||
0:13 1 (const int)
|
||||
0:13 Constant:
|
||||
|
|
@ -28,7 +28,7 @@ triangle order = none
|
|||
0:13 Constant:
|
||||
0:13 2 (const int)
|
||||
0:? Linker Objects
|
||||
0:? 'gl_in' (in 32-element array of block{in implicitly-sized array of float gl_CullDistance})
|
||||
0:? 'gl_in' (in 32-element array of block{in implicitly-sized array of float CullDistance gl_CullDistance})
|
||||
0:? 'anon@0' (out block{out implicitly-sized array of float CullDistance gl_CullDistance})
|
||||
|
||||
|
||||
|
|
@ -52,10 +52,10 @@ triangle order = ccw
|
|||
0:13 3 (const uint)
|
||||
0:13 Constant:
|
||||
0:13 2 (const int)
|
||||
0:13 direct index (temp float)
|
||||
0:13 gl_CullDistance: direct index for structure (in 1-element array of float)
|
||||
0:13 direct index (temp block{in 1-element array of float gl_CullDistance})
|
||||
0:13 'gl_in' (in 32-element array of block{in 1-element array of float gl_CullDistance})
|
||||
0:13 direct index (temp float CullDistance)
|
||||
0:13 gl_CullDistance: direct index for structure (in 1-element array of float CullDistance)
|
||||
0:13 direct index (temp block{in 1-element array of float CullDistance gl_CullDistance})
|
||||
0:13 'gl_in' (in 32-element array of block{in 1-element array of float CullDistance gl_CullDistance})
|
||||
0:13 Constant:
|
||||
0:13 1 (const int)
|
||||
0:13 Constant:
|
||||
|
|
@ -63,6 +63,6 @@ triangle order = ccw
|
|||
0:13 Constant:
|
||||
0:13 2 (const int)
|
||||
0:? Linker Objects
|
||||
0:? 'gl_in' (in 32-element array of block{in 1-element array of float gl_CullDistance})
|
||||
0:? 'gl_in' (in 32-element array of block{in 1-element array of float CullDistance gl_CullDistance})
|
||||
0:? 'anon@0' (out block{out 3-element array of float CullDistance gl_CullDistance})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue