mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-10 04:20:06 +00:00
5134b9cf57
Also made all tests in testlist include linker tests. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24156 e7fa87d3-cd2b-0410-9028-fcbf551c1848
124 lines
3.9 KiB
Plaintext
124 lines
3.9 KiB
Plaintext
430scope.vert
|
|
Warning, version 430 is not yet complete; some version-specific features are present, but many are missing.
|
|
ERROR: 0:5: 'a' : redefinition
|
|
ERROR: 0:17: 'b' : redeclaration of existing name
|
|
ERROR: 0:19: 'f' : redefinition
|
|
ERROR: 0:54: 'z' : undeclared identifier
|
|
ERROR: 0:54: 'z' : redefinition
|
|
ERROR: 5 compilation errors. No code generated.
|
|
|
|
|
|
ERROR: node is still EOpNull!
|
|
0:3 Function Definition: f(i1;i1;i1; (int)
|
|
0:3 Function Parameters:
|
|
0:3 'a' (in int)
|
|
0:3 'b' (in int)
|
|
0:3 'c' (in int)
|
|
0:? Sequence
|
|
0:8 Sequence
|
|
0:8 Sequence
|
|
0:8 move second child to first child (float)
|
|
0:8 'a' (float)
|
|
0:8 add (float)
|
|
0:8 Convert int to float (float)
|
|
0:8 'a' (in int)
|
|
0:8 Constant:
|
|
0:8 1.000000
|
|
0:11 Branch: Return with expression
|
|
0:11 'a' (in int)
|
|
0:22 Function Definition: cos(f1; (float)
|
|
0:22 Function Parameters:
|
|
0:22 'x' (in float)
|
|
0:24 Sequence
|
|
0:24 Branch: Return with expression
|
|
0:24 Constant:
|
|
0:24 1.000000
|
|
0:26 Function Definition: radians(b1; (bool)
|
|
0:26 Function Parameters:
|
|
0:26 'x' (in bool)
|
|
0:28 Sequence
|
|
0:28 Branch: Return with expression
|
|
0:28 Constant:
|
|
0:28 true (const bool)
|
|
0:33 Function Definition: main( (void)
|
|
0:33 Function Parameters:
|
|
0:? Sequence
|
|
0:36 Function Call: g( (int)
|
|
0:39 'sin' (float)
|
|
0:41 Function Call: f(i1;i1;i1; (int)
|
|
0:41 Constant:
|
|
0:41 1 (const int)
|
|
0:41 Constant:
|
|
0:41 2 (const int)
|
|
0:41 Constant:
|
|
0:41 3 (const int)
|
|
0:44 move second child to first child (float)
|
|
0:44 'f' (float)
|
|
0:44 Constant:
|
|
0:44 3.000000
|
|
0:46 move second child to first child (4-component vector of float)
|
|
0:46 gl_Position: direct index for structure (invariant gl_Position 4-component vector of float)
|
|
0:46 '__anon__0' (out block{gl_Position,gl_PointSize,gl_ClipDistance,gl_ClipVertex,gl_FrontColor,gl_BackColor,gl_FrontSecondaryColor,gl_BackSecondaryColor,gl_TexCoord,gl_FogFragCoord})
|
|
0:46 Constant:
|
|
0:46 0 (const uint)
|
|
0:46 Construct vec4 (4-component vector of float)
|
|
0:46 'f' (float)
|
|
0:48 Sequence
|
|
0:48 Sequence
|
|
0:48 move second child to first child (int)
|
|
0:48 'f' (int)
|
|
0:48 Constant:
|
|
0:48 0 (const int)
|
|
0:48 Loop with condition tested first
|
|
0:48 Loop Condition
|
|
0:48 Compare Less Than (bool)
|
|
0:48 'f' (int)
|
|
0:48 Constant:
|
|
0:48 10 (const int)
|
|
0:48 Loop Body
|
|
0:49 Pre-Increment (int)
|
|
0:49 'f' (int)
|
|
0:48 Loop Terminal Expression
|
|
0:48 Pre-Increment (int)
|
|
0:48 'f' (int)
|
|
0:51 Sequence
|
|
0:51 move second child to first child (int)
|
|
0:51 'x' (int)
|
|
0:51 Constant:
|
|
0:51 1 (const int)
|
|
0:53 Sequence
|
|
0:53 Sequence
|
|
0:53 move second child to first child (float)
|
|
0:53 'x' (float)
|
|
0:53 Constant:
|
|
0:53 2.000000
|
|
0:53 move second child to first child (float)
|
|
0:53 'y' (float)
|
|
0:53 'x' (float)
|
|
0:57 Sequence
|
|
0:57 Sequence
|
|
0:57 move second child to first child (int)
|
|
0:57 'x' (int)
|
|
0:57 'x' (int)
|
|
0:65 Sequence
|
|
0:65 Sequence
|
|
0:65 move second child to first child (structure{x})
|
|
0:65 'S' (structure{x})
|
|
0:65 Constant:
|
|
0:65 0 (const int)
|
|
0:66 x: direct index for structure (int)
|
|
0:66 'S' (structure{x})
|
|
0:66 Constant:
|
|
0:66 0 (const int)
|
|
0:? Linker Objects
|
|
0:? 'b' (bool)
|
|
0:? 'tan' (float)
|
|
0:? 'gl_VertexID' (gl_VertexId int)
|
|
0:? 'gl_InstanceID' (gl_InstanceId int)
|
|
|
|
|
|
Linked vertex stage:
|
|
|
|
|
|
|