glslang AST output: include global vs. temp (local) in the printed output. This only effects test results, but a future check-in is going to fix some globals.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30973 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich
2015-04-29 10:16:56 +00:00
parent bcef333a78
commit 8b37b04ecc
130 changed files with 15103 additions and 15104 deletions

View File

@@ -1,9 +1,9 @@
matrixError.vert
ERROR: 0:10: 'constructor' : too many arguments
ERROR: 0:7: 'const' : non-matching or non-convertible constant type for const initializer
ERROR: 0:17: 'assign' : cannot convert from '2-component vector of float' to '3-component vector of float'
ERROR: 0:18: 'assign' : cannot convert from '2-component vector of float' to '3-component vector of float'
ERROR: 0:19: 'xy' : does not apply to this type: 2X3 matrix of float
ERROR: 0:17: 'assign' : cannot convert from 'temp 2-component vector of float' to 'temp 3-component vector of float'
ERROR: 0:18: 'assign' : cannot convert from 'temp 2-component vector of float' to 'temp 3-component vector of float'
ERROR: 0:19: 'xy' : does not apply to this type: temp 2X3 matrix of float
ERROR: 0:21: '[' : matrix index out of range '2'
ERROR: 0:21: '[' : vector index out of range '4'
ERROR: 7 compilation errors. No code generated.
@@ -11,23 +11,23 @@ ERROR: 7 compilation errors. No code generated.
Shader version: 120
ERROR: node is still EOpNull!
0:12 Function Definition: main( (void)
0:12 Function Definition: main( (global void)
0:12 Function Parameters:
0:? Sequence
0:17 'a' (3-component vector of float)
0:18 'b' (3-component vector of float)
0:19 'm23' (2X3 matrix of float)
0:21 move second child to first child (4-component vector of float)
0:17 'a' (temp 3-component vector of float)
0:18 'b' (temp 3-component vector of float)
0:19 'm23' (temp 2X3 matrix of float)
0:21 move second child to first child (temp 4-component vector of float)
0:21 'gl_Position' (gl_Position 4-component vector of float)
0:21 Construct vec4 (4-component vector of float)
0:21 matrix-times-vector (3-component vector of float)
0:21 matrix-multiply (3X3 matrix of float)
0:21 'm23' (2X3 matrix of float)
0:21 Construct vec4 (temp 4-component vector of float)
0:21 matrix-times-vector (temp 3-component vector of float)
0:21 matrix-multiply (temp 3X3 matrix of float)
0:21 'm23' (temp 2X3 matrix of float)
0:21 'm32' (uniform 3X2 matrix of float)
0:21 'v3' (in 3-component vector of float)
0:21 direct index (float)
0:21 direct index (4-component vector of float)
0:21 'm24' (2X4 matrix of float)
0:21 direct index (temp float)
0:21 direct index (temp 4-component vector of float)
0:21 'm24' (temp 2X4 matrix of float)
0:21 Constant:
0:21 2 (const int)
0:21 Constant:
@@ -35,7 +35,7 @@ ERROR: node is still EOpNull!
0:? Linker Objects
0:? 'v3' (in 3-component vector of float)
0:? 'm32' (uniform 3X2 matrix of float)
0:? 'm24' (2X4 matrix of float)
0:? 'm24' (temp 2X4 matrix of float)
Linked vertex stage:
@@ -43,23 +43,23 @@ Linked vertex stage:
Shader version: 120
ERROR: node is still EOpNull!
0:12 Function Definition: main( (void)
0:12 Function Definition: main( (global void)
0:12 Function Parameters:
0:? Sequence
0:17 'a' (3-component vector of float)
0:18 'b' (3-component vector of float)
0:19 'm23' (2X3 matrix of float)
0:21 move second child to first child (4-component vector of float)
0:17 'a' (temp 3-component vector of float)
0:18 'b' (temp 3-component vector of float)
0:19 'm23' (temp 2X3 matrix of float)
0:21 move second child to first child (temp 4-component vector of float)
0:21 'gl_Position' (gl_Position 4-component vector of float)
0:21 Construct vec4 (4-component vector of float)
0:21 matrix-times-vector (3-component vector of float)
0:21 matrix-multiply (3X3 matrix of float)
0:21 'm23' (2X3 matrix of float)
0:21 Construct vec4 (temp 4-component vector of float)
0:21 matrix-times-vector (temp 3-component vector of float)
0:21 matrix-multiply (temp 3X3 matrix of float)
0:21 'm23' (temp 2X3 matrix of float)
0:21 'm32' (uniform 3X2 matrix of float)
0:21 'v3' (in 3-component vector of float)
0:21 direct index (float)
0:21 direct index (4-component vector of float)
0:21 'm24' (2X4 matrix of float)
0:21 direct index (temp float)
0:21 direct index (temp 4-component vector of float)
0:21 'm24' (temp 2X4 matrix of float)
0:21 Constant:
0:21 2 (const int)
0:21 Constant:
@@ -67,5 +67,5 @@ ERROR: node is still EOpNull!
0:? Linker Objects
0:? 'v3' (in 3-component vector of float)
0:? 'm32' (uniform 3X2 matrix of float)
0:? 'm24' (2X4 matrix of float)
0:? 'm24' (temp 2X4 matrix of float)