Add geometry shader input array sizing/checking WRT declared input primitive layout.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23698 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
Warning, version 400 is not yet complete; some version-specific features are present, but many are missing.
|
||||
ERROR: 0:13: 'invocations' : can only apply to a standalone qualifier
|
||||
ERROR: 1 compilation errors. No code generated.
|
||||
ERROR: 0:24: 'length' : array must be declared with a size before using this method
|
||||
ERROR: 0:35: 'length' : array must be declared with a size before using this method
|
||||
ERROR: 0:39: 'triangles' : inconsistent input primitive for array size colorBad
|
||||
ERROR: 0:43: 'triangles' : inconsistent input primitive for array size colorbad2
|
||||
ERROR: 5 compilation errors. No code generated.
|
||||
|
||||
invocations = 4
|
||||
max_vertices = 127
|
||||
input primitive = none
|
||||
input primitive = triangles
|
||||
output primitive = none
|
||||
ERROR: node is still EOpNull!
|
||||
0:3 Function Definition: main( (void)
|
||||
@@ -22,6 +26,42 @@ ERROR: node is still EOpNull!
|
||||
0:10 move second child to first child (int)
|
||||
0:10 'id' (int)
|
||||
0:10 'gl_InvocationID' (in int)
|
||||
0:22 Function Definition: foo( (void)
|
||||
0:22 Function Parameters:
|
||||
0:24 Sequence
|
||||
0:24 Constant:
|
||||
0:24 1 (const int)
|
||||
0:25 gl_Position: direct index for structure (4-component vector of float)
|
||||
0:25 direct index (in block{gl_Position})
|
||||
0:25 'gl_in' (in 3-element array of block{gl_Position})
|
||||
0:25 Constant:
|
||||
0:25 1 (const int)
|
||||
0:25 Constant:
|
||||
0:25 0 (const int)
|
||||
0:33 Function Definition: foo2( (void)
|
||||
0:33 Function Parameters:
|
||||
0:35 Sequence
|
||||
0:35 Constant:
|
||||
0:35 1 (const int)
|
||||
0:36 Constant:
|
||||
0:36 3 (const int)
|
||||
0:45 Function Definition: foo3( (void)
|
||||
0:45 Function Parameters:
|
||||
0:47 Sequence
|
||||
0:47 Constant:
|
||||
0:47 3 (const int)
|
||||
0:48 Constant:
|
||||
0:48 3 (const int)
|
||||
0:49 Constant:
|
||||
0:49 3 (const int)
|
||||
0:50 Constant:
|
||||
0:50 3 (const int)
|
||||
0:? Linker Objects
|
||||
0:? '__anon__0' (layout(stream=0 ) out block{a})
|
||||
0:? 'gl_in' (in 3-element array of block{gl_Position})
|
||||
0:? 'color' (in 3-element array of 4-component vector of float)
|
||||
0:? 'color2' (in 3-element array of 4-component vector of float)
|
||||
0:? 'colorS' (in 3-element array of 4-component vector of float)
|
||||
0:? 'colorBad' (in 4-element array of 4-component vector of float)
|
||||
0:? 'colorbad2' (in 2-element array of 4-component vector of float)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user