mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-19 17:26:39 +00:00
cf0206c341
r26245: Remove "not yet complete" warning for versions 130 and 140, after tidying up a bit and adding tests. Token pasting is the only known missing feature, and gives its own message now on use. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26226 e7fa87d3-cd2b-0410-9028-fcbf551c1848
244 lines
8.6 KiB
Plaintext
244 lines
8.6 KiB
Plaintext
430scope.vert
|
|
Warning, version 430 is not yet complete; most version-specific features are present, but some are missing.
|
|
ERROR: 0:5: 'a' : redefinition
|
|
ERROR: 0:17: 'b' : function name is redeclaration of existing name
|
|
ERROR: 0:20: 'c' : redefinition
|
|
ERROR: 0:22: 'f' : redefinition
|
|
ERROR: 0:43: 'sin' : can't use function syntax on variable
|
|
ERROR: 0:57: 'z' : undeclared identifier
|
|
ERROR: 0:57: 'z' : redefinition
|
|
ERROR: 0:73: 'degrees' : can't use function syntax on variable
|
|
ERROR: 8 compilation errors. No code generated.
|
|
|
|
|
|
Shader version: 430
|
|
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:25 Function Definition: cos(f1; (float)
|
|
0:25 Function Parameters:
|
|
0:25 'x' (in float)
|
|
0:27 Sequence
|
|
0:27 Branch: Return with expression
|
|
0:27 Constant:
|
|
0:27 1.000000
|
|
0:29 Function Definition: radians(b1; (bool)
|
|
0:29 Function Parameters:
|
|
0:29 'x' (in bool)
|
|
0:31 Sequence
|
|
0:31 Branch: Return with expression
|
|
0:31 Constant:
|
|
0:31 true (const bool)
|
|
0:36 Function Definition: main( (void)
|
|
0:36 Function Parameters:
|
|
0:? Sequence
|
|
0:39 Function Call: g( (int)
|
|
0:42 'sin' (float)
|
|
0:43 Constant:
|
|
0:43 0.000000
|
|
0:44 Function Call: f(i1;i1;i1; (int)
|
|
0:44 Constant:
|
|
0:44 1 (const int)
|
|
0:44 Constant:
|
|
0:44 2 (const int)
|
|
0:44 Constant:
|
|
0:44 3 (const int)
|
|
0:47 move second child to first child (float)
|
|
0:47 'f' (float)
|
|
0:47 Constant:
|
|
0:47 3.000000
|
|
0:49 move second child to first child (4-component vector of float)
|
|
0:49 gl_Position: direct index for structure (invariant gl_Position 4-component vector of float)
|
|
0:49 'anon@0' (out block{invariant gl_Position 4-component vector of float gl_Position, gl_PointSize float gl_PointSize, out implicitly-sized array of float gl_ClipDistance, gl_ClipVertex 4-component vector of float gl_ClipVertex, out 4-component vector of float gl_FrontColor, out 4-component vector of float gl_BackColor, out 4-component vector of float gl_FrontSecondaryColor, out 4-component vector of float gl_BackSecondaryColor, out implicitly-sized array of 4-component vector of float gl_TexCoord, out float gl_FogFragCoord})
|
|
0:49 Constant:
|
|
0:49 0 (const uint)
|
|
0:49 Construct vec4 (4-component vector of float)
|
|
0:49 'f' (float)
|
|
0:51 Sequence
|
|
0:51 Sequence
|
|
0:51 move second child to first child (int)
|
|
0:51 'f' (int)
|
|
0:51 Constant:
|
|
0:51 0 (const int)
|
|
0:51 Loop with condition tested first
|
|
0:51 Loop Condition
|
|
0:51 Compare Less Than (bool)
|
|
0:51 'f' (int)
|
|
0:51 Constant:
|
|
0:51 10 (const int)
|
|
0:51 Loop Body
|
|
0:52 Pre-Increment (int)
|
|
0:52 'f' (int)
|
|
0:51 Loop Terminal Expression
|
|
0:51 Pre-Increment (int)
|
|
0:51 'f' (int)
|
|
0:54 Sequence
|
|
0:54 move second child to first child (int)
|
|
0:54 'x' (int)
|
|
0:54 Constant:
|
|
0:54 1 (const int)
|
|
0:56 Sequence
|
|
0:56 Sequence
|
|
0:56 move second child to first child (float)
|
|
0:56 'x' (float)
|
|
0:56 Constant:
|
|
0:56 2.000000
|
|
0:56 move second child to first child (float)
|
|
0:56 'y' (float)
|
|
0:56 'x' (float)
|
|
0:60 Sequence
|
|
0:60 Sequence
|
|
0:60 move second child to first child (int)
|
|
0:60 'x' (int)
|
|
0:60 'x' (int)
|
|
0:68 Sequence
|
|
0:68 Sequence
|
|
0:68 move second child to first child (structure{int x})
|
|
0:68 'S' (structure{int x})
|
|
0:68 Constant:
|
|
0:68 0 (const int)
|
|
0:69 x: direct index for structure (int)
|
|
0:69 'S' (structure{int x})
|
|
0:69 Constant:
|
|
0:69 0 (const int)
|
|
0:73 Constant:
|
|
0:73 0.000000
|
|
0:? Linker Objects
|
|
0:? 'b' (bool)
|
|
0:? 'tan' (float)
|
|
0:? 'gl_VertexID' (gl_VertexId int)
|
|
0:? 'gl_InstanceID' (gl_InstanceId int)
|
|
|
|
|
|
Linked vertex stage:
|
|
|
|
|
|
Shader version: 430
|
|
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:25 Function Definition: cos(f1; (float)
|
|
0:25 Function Parameters:
|
|
0:25 'x' (in float)
|
|
0:27 Sequence
|
|
0:27 Branch: Return with expression
|
|
0:27 Constant:
|
|
0:27 1.000000
|
|
0:29 Function Definition: radians(b1; (bool)
|
|
0:29 Function Parameters:
|
|
0:29 'x' (in bool)
|
|
0:31 Sequence
|
|
0:31 Branch: Return with expression
|
|
0:31 Constant:
|
|
0:31 true (const bool)
|
|
0:36 Function Definition: main( (void)
|
|
0:36 Function Parameters:
|
|
0:? Sequence
|
|
0:39 Function Call: g( (int)
|
|
0:42 'sin' (float)
|
|
0:43 Constant:
|
|
0:43 0.000000
|
|
0:44 Function Call: f(i1;i1;i1; (int)
|
|
0:44 Constant:
|
|
0:44 1 (const int)
|
|
0:44 Constant:
|
|
0:44 2 (const int)
|
|
0:44 Constant:
|
|
0:44 3 (const int)
|
|
0:47 move second child to first child (float)
|
|
0:47 'f' (float)
|
|
0:47 Constant:
|
|
0:47 3.000000
|
|
0:49 move second child to first child (4-component vector of float)
|
|
0:49 gl_Position: direct index for structure (invariant gl_Position 4-component vector of float)
|
|
0:49 'anon@0' (out block{invariant gl_Position 4-component vector of float gl_Position, gl_PointSize float gl_PointSize, out 1-element array of float gl_ClipDistance, gl_ClipVertex 4-component vector of float gl_ClipVertex, out 4-component vector of float gl_FrontColor, out 4-component vector of float gl_BackColor, out 4-component vector of float gl_FrontSecondaryColor, out 4-component vector of float gl_BackSecondaryColor, out 1-element array of 4-component vector of float gl_TexCoord, out float gl_FogFragCoord})
|
|
0:49 Constant:
|
|
0:49 0 (const uint)
|
|
0:49 Construct vec4 (4-component vector of float)
|
|
0:49 'f' (float)
|
|
0:51 Sequence
|
|
0:51 Sequence
|
|
0:51 move second child to first child (int)
|
|
0:51 'f' (int)
|
|
0:51 Constant:
|
|
0:51 0 (const int)
|
|
0:51 Loop with condition tested first
|
|
0:51 Loop Condition
|
|
0:51 Compare Less Than (bool)
|
|
0:51 'f' (int)
|
|
0:51 Constant:
|
|
0:51 10 (const int)
|
|
0:51 Loop Body
|
|
0:52 Pre-Increment (int)
|
|
0:52 'f' (int)
|
|
0:51 Loop Terminal Expression
|
|
0:51 Pre-Increment (int)
|
|
0:51 'f' (int)
|
|
0:54 Sequence
|
|
0:54 move second child to first child (int)
|
|
0:54 'x' (int)
|
|
0:54 Constant:
|
|
0:54 1 (const int)
|
|
0:56 Sequence
|
|
0:56 Sequence
|
|
0:56 move second child to first child (float)
|
|
0:56 'x' (float)
|
|
0:56 Constant:
|
|
0:56 2.000000
|
|
0:56 move second child to first child (float)
|
|
0:56 'y' (float)
|
|
0:56 'x' (float)
|
|
0:60 Sequence
|
|
0:60 Sequence
|
|
0:60 move second child to first child (int)
|
|
0:60 'x' (int)
|
|
0:60 'x' (int)
|
|
0:68 Sequence
|
|
0:68 Sequence
|
|
0:68 move second child to first child (structure{int x})
|
|
0:68 'S' (structure{int x})
|
|
0:68 Constant:
|
|
0:68 0 (const int)
|
|
0:69 x: direct index for structure (int)
|
|
0:69 'S' (structure{int x})
|
|
0:69 Constant:
|
|
0:69 0 (const int)
|
|
0:73 Constant:
|
|
0:73 0.000000
|
|
0:? Linker Objects
|
|
0:? 'b' (bool)
|
|
0:? 'tan' (float)
|
|
0:? 'gl_VertexID' (gl_VertexId int)
|
|
0:? 'gl_InstanceID' (gl_InstanceId int)
|
|
|