Require l-value patch-out indexing to be gl_InvocationID.
Also, generally allow ES variable indexing of in/out blocks.
This commit is contained in:
@@ -10,10 +10,9 @@ vertices = 0
|
||||
0:13 move second child to first child (temp float)
|
||||
0:13 direct index (temp float CullDistance)
|
||||
0:13 gl_CullDistance: direct index for structure (out implicitly-sized array of float CullDistance)
|
||||
0:13 direct index (temp block{out implicitly-sized array of float CullDistance gl_CullDistance})
|
||||
0:13 'gl_out' (out implicitly-sized array of block{out implicitly-sized array of float CullDistance gl_CullDistance})
|
||||
0:13 Constant:
|
||||
0:13 0 (const int)
|
||||
0:13 indirect index (temp block{out implicitly-sized array of float CullDistance gl_CullDistance})
|
||||
0:13 'gl_out' (out 4-element array of block{out implicitly-sized array of float CullDistance gl_CullDistance})
|
||||
0:13 'gl_InvocationID' (in int InvocationID)
|
||||
0:13 Constant:
|
||||
0:13 0 (const int)
|
||||
0:13 Constant:
|
||||
@@ -30,7 +29,7 @@ vertices = 0
|
||||
0:13 2 (const int)
|
||||
0:? Linker Objects
|
||||
0:? 'gl_in' (in 32-element array of block{in implicitly-sized array of float CullDistance gl_CullDistance})
|
||||
0:? 'gl_out' (out implicitly-sized array of block{out implicitly-sized array of float CullDistance gl_CullDistance})
|
||||
0:? 'gl_out' (out 4-element array of block{out implicitly-sized array of float CullDistance gl_CullDistance})
|
||||
|
||||
|
||||
Linked tessellation control stage:
|
||||
@@ -46,10 +45,9 @@ vertices = 0
|
||||
0:13 move second child to first child (temp float)
|
||||
0:13 direct index (temp float CullDistance)
|
||||
0:13 gl_CullDistance: direct index for structure (out 1-element array of float CullDistance)
|
||||
0:13 direct index (temp block{out 1-element array of float CullDistance gl_CullDistance})
|
||||
0:13 'gl_out' (out 1-element array of block{out 1-element array of float CullDistance gl_CullDistance})
|
||||
0:13 Constant:
|
||||
0:13 0 (const int)
|
||||
0:13 indirect index (temp block{out 1-element array of float CullDistance gl_CullDistance})
|
||||
0:13 'gl_out' (out 4-element array of block{out 1-element array of float CullDistance gl_CullDistance})
|
||||
0:13 'gl_InvocationID' (in int InvocationID)
|
||||
0:13 Constant:
|
||||
0:13 0 (const int)
|
||||
0:13 Constant:
|
||||
@@ -66,5 +64,5 @@ vertices = 0
|
||||
0:13 2 (const int)
|
||||
0:? Linker Objects
|
||||
0:? 'gl_in' (in 32-element array of block{in 1-element array of float CullDistance gl_CullDistance})
|
||||
0:? 'gl_out' (out 1-element array of block{out 1-element array of float CullDistance gl_CullDistance})
|
||||
0:? 'gl_out' (out 4-element array of block{out 1-element array of float CullDistance gl_CullDistance})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user