mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-14 22:01:04 +00:00
337dbc7d8c
Still need to handle arrays and built-in redeclarations, and many more rules, but this puts the basics in place. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23225 e7fa87d3-cd2b-0410-9028-fcbf551c1848
94 lines
3.0 KiB
Plaintext
94 lines
3.0 KiB
Plaintext
ERROR: 0:5: 'a' : redefinition
|
|
ERROR: 0:17: 'b' : illegal redeclaration
|
|
ERROR: 0:19: 'f' : redefinition
|
|
ERROR: 0:50: 'z' : undeclared identifier
|
|
ERROR: 0:50: '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 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 1.000000
|
|
0:29 Function Definition: main( (void)
|
|
0:29 Function Parameters:
|
|
0:? Sequence
|
|
0:32 Function Call: g( (int)
|
|
0:35 'sin' (float)
|
|
0:37 Function Call: f(i1;i1;i1; (int)
|
|
0:37 1 (const int)
|
|
0:37 2 (const int)
|
|
0:37 3 (const int)
|
|
0:40 move second child to first child (float)
|
|
0:40 'f' (float)
|
|
0:40 3.000000
|
|
0:42 move second child to first child (4-component vector of float)
|
|
0:42 'gl_Position' (invariant gl_Position 4-component vector of float)
|
|
0:42 Construct vec4 (4-component vector of float)
|
|
0:42 'f' (float)
|
|
0:44 Sequence
|
|
0:44 Sequence
|
|
0:44 move second child to first child (int)
|
|
0:44 'f' (int)
|
|
0:44 0 (const int)
|
|
0:44 Loop with condition tested first
|
|
0:44 Loop Condition
|
|
0:44 Compare Less Than (bool)
|
|
0:44 'f' (int)
|
|
0:44 10 (const int)
|
|
0:44 Loop Body
|
|
0:45 Pre-Increment (int)
|
|
0:45 'f' (int)
|
|
0:44 Loop Terminal Expression
|
|
0:44 Pre-Increment (int)
|
|
0:44 'f' (int)
|
|
0:47 Sequence
|
|
0:47 move second child to first child (int)
|
|
0:47 'x' (int)
|
|
0:47 1 (const int)
|
|
0:49 Sequence
|
|
0:49 Sequence
|
|
0:49 move second child to first child (float)
|
|
0:49 'x' (float)
|
|
0:49 2.000000
|
|
0:49 move second child to first child (float)
|
|
0:49 'y' (float)
|
|
0:49 'x' (float)
|
|
0:53 Sequence
|
|
0:53 Sequence
|
|
0:53 move second child to first child (int)
|
|
0:53 'x' (int)
|
|
0:53 'x' (int)
|
|
0:61 Sequence
|
|
0:61 Sequence
|
|
0:61 move second child to first child (structure)
|
|
0:61 'S' (structure)
|
|
0:61 0 (const int)
|
|
0:62 x: direct index for structure (int)
|
|
0:62 'S' (structure)
|
|
0:62 0 (const int)
|
|
0:? Linker Objects
|
|
0:? 'b' (bool)
|
|
0:? 'tan' (float)
|
|
0:? 'gl_VertexID' (gl_VertexId int)
|
|
0:? 'gl_InstanceID' (gl_InstanceId int)
|
|
|