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

@ -6,18 +6,18 @@ ERROR: 0:18: '' : constant expression required
ERROR: 0:18: '' : array size must be a constant integer expression
ERROR: 0:19: '' : constant expression required
ERROR: 0:19: '' : array size must be a constant integer expression
ERROR: 0:27: '=' : global const initializers must be constant 'const structure{3-component vector of float v3, 2-component vector of int iv2}'
ERROR: 0:33: '=' : global const initializers must be constant 'const structure{3-component vector of float v3, 2-component vector of int iv2, 2X4 matrix of float m}'
ERROR: 0:27: '=' : global const initializers must be constant 'const structure{global 3-component vector of float v3, global 2-component vector of int iv2}'
ERROR: 0:33: '=' : global const initializers must be constant 'const structure{global 3-component vector of float v3, global 2-component vector of int iv2, global 2X4 matrix of float m}'
ERROR: 9 compilation errors. No code generated.
Shader version: 330
ERROR: node is still EOpNull!
0:10 Function Definition: main( (void)
0:10 Function Definition: main( (global void)
0:10 Function Parameters:
0:? Sequence
0:14 Sequence
0:14 move second child to first child (int)
0:14 move second child to first child (temp int)
0:14 'a3' (const (read only) int)
0:14 'uniformInt' (uniform int)
0:? Linker Objects
@ -26,8 +26,8 @@ ERROR: node is still EOpNull!
0:? 'constInt' (const int)
0:? 3 (const int)
0:? 'uniformInt' (uniform int)
0:? 's' (structure{3-component vector of float v3, 2-component vector of int iv2})
0:? 's2' (structure{3-component vector of float v3, 2-component vector of int iv2, 2X4 matrix of float m})
0:? 's' (temp structure{global 3-component vector of float v3, global 2-component vector of int iv2})
0:? 's2' (temp structure{global 3-component vector of float v3, global 2-component vector of int iv2, global 2X4 matrix of float m})
0:? 'f' (const float)
0:? 3.000000
@ -37,11 +37,11 @@ Linked fragment stage:
Shader version: 330
ERROR: node is still EOpNull!
0:10 Function Definition: main( (void)
0:10 Function Definition: main( (global void)
0:10 Function Parameters:
0:? Sequence
0:14 Sequence
0:14 move second child to first child (int)
0:14 move second child to first child (temp int)
0:14 'a3' (const (read only) int)
0:14 'uniformInt' (uniform int)
0:? Linker Objects
@ -50,8 +50,8 @@ ERROR: node is still EOpNull!
0:? 'constInt' (const int)
0:? 3 (const int)
0:? 'uniformInt' (uniform int)
0:? 's' (structure{3-component vector of float v3, 2-component vector of int iv2})
0:? 's2' (structure{3-component vector of float v3, 2-component vector of int iv2, 2X4 matrix of float m})
0:? 's' (temp structure{global 3-component vector of float v3, global 2-component vector of int iv2})
0:? 's2' (temp structure{global 3-component vector of float v3, global 2-component vector of int iv2, global 2X4 matrix of float m})
0:? 'f' (const float)
0:? 3.000000