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

@ -25,72 +25,72 @@ ERROR: 20 compilation errors. No code generated.
Shader version: 100
ERROR: node is still EOpNull!
0:20 Function Definition: main( (void)
0:20 Function Definition: main( (global void)
0:20 Function Parameters:
0:20 Sequence
0:20 move second child to first child (highp 4-component vector of float)
0:20 move second child to first child (temp highp 4-component vector of float)
0:20 'gl_Position' (gl_Position highp 4-component vector of float)
0:20 Construct vec4 (highp 4-component vector of float)
0:20 'foo' (highp float)
0:22 Function Definition: foo2(vf4; (highp 4-component vector of float)
0:20 Construct vec4 (temp highp 4-component vector of float)
0:20 'foo' (global highp float)
0:22 Function Definition: foo2(vf4; (global highp 4-component vector of float)
0:22 Function Parameters:
0:22 'a' (in highp 4-component vector of float)
0:24 Sequence
0:24 Sequence
0:24 move second child to first child (highp 4-component vector of float)
0:24 'b' (highp 4-component vector of float)
0:24 move second child to first child (temp highp 4-component vector of float)
0:24 'b' (temp highp 4-component vector of float)
0:24 'a' (in highp 4-component vector of float)
0:25 Branch: Return with expression
0:25 'b' (highp 4-component vector of float)
0:25 'b' (temp highp 4-component vector of float)
0:40 Sequence
0:40 move second child to first child (highp int)
0:40 'a1' (highp int)
0:40 move second child to first child (temp highp int)
0:40 'a1' (global highp int)
0:40 Constant:
0:40 4 (const int)
0:41 Sequence
0:41 move second child to first child (highp int)
0:41 'a2' (highp int)
0:41 move second child to first child (temp highp int)
0:41 'a2' (global highp int)
0:41 Constant:
0:41 3 (const int)
0:42 Sequence
0:42 move second child to first child (highp int)
0:42 'a3' (highp int)
0:42 move second child to first child (temp highp int)
0:42 'a3' (global highp int)
0:42 Constant:
0:42 4 (const int)
0:43 Sequence
0:43 move second child to first child (highp int)
0:43 'a4' (highp int)
0:43 'a2' (highp int)
0:43 move second child to first child (temp highp int)
0:43 'a4' (global highp int)
0:43 'a2' (global highp int)
0:45 Sequence
0:45 move second child to first child (highp int)
0:45 'q1' (highp int)
0:45 move second child to first child (temp highp int)
0:45 'q1' (global highp int)
0:45 Constant:
0:45 1 (const int)
0:46 Sequence
0:46 move second child to first child (highp int)
0:46 'q2' (highp int)
0:46 move second child to first child (temp highp int)
0:46 'q2' (global highp int)
0:46 Constant:
0:46 1 (const int)
0:47 Sequence
0:47 move second child to first child (highp int)
0:47 'q3' (highp int)
0:47 move second child to first child (temp highp int)
0:47 'q3' (global highp int)
0:47 Constant:
0:47 1 (const int)
0:48 Sequence
0:48 move second child to first child (highp int)
0:48 'q4' (highp int)
0:48 move second child to first child (temp highp int)
0:48 'q4' (global highp int)
0:48 Constant:
0:48 1 (const int)
0:? Linker Objects
0:? 'foo' (highp float)
0:? 'a1' (highp int)
0:? 'a2' (highp int)
0:? 'a3' (highp int)
0:? 'a4' (highp int)
0:? 'q1' (highp int)
0:? 'q2' (highp int)
0:? 'q3' (highp int)
0:? 'q4' (highp int)
0:? 'foo' (global highp float)
0:? 'a1' (global highp int)
0:? 'a2' (global highp int)
0:? 'a3' (global highp int)
0:? 'a4' (global highp int)
0:? 'q1' (global highp int)
0:? 'q2' (global highp int)
0:? 'q3' (global highp int)
0:? 'q4' (global highp int)
Linked vertex stage:
@ -98,70 +98,70 @@ Linked vertex stage:
Shader version: 100
ERROR: node is still EOpNull!
0:20 Function Definition: main( (void)
0:20 Function Definition: main( (global void)
0:20 Function Parameters:
0:20 Sequence
0:20 move second child to first child (highp 4-component vector of float)
0:20 move second child to first child (temp highp 4-component vector of float)
0:20 'gl_Position' (gl_Position highp 4-component vector of float)
0:20 Construct vec4 (highp 4-component vector of float)
0:20 'foo' (highp float)
0:22 Function Definition: foo2(vf4; (highp 4-component vector of float)
0:20 Construct vec4 (temp highp 4-component vector of float)
0:20 'foo' (global highp float)
0:22 Function Definition: foo2(vf4; (global highp 4-component vector of float)
0:22 Function Parameters:
0:22 'a' (in highp 4-component vector of float)
0:24 Sequence
0:24 Sequence
0:24 move second child to first child (highp 4-component vector of float)
0:24 'b' (highp 4-component vector of float)
0:24 move second child to first child (temp highp 4-component vector of float)
0:24 'b' (temp highp 4-component vector of float)
0:24 'a' (in highp 4-component vector of float)
0:25 Branch: Return with expression
0:25 'b' (highp 4-component vector of float)
0:25 'b' (temp highp 4-component vector of float)
0:40 Sequence
0:40 move second child to first child (highp int)
0:40 'a1' (highp int)
0:40 move second child to first child (temp highp int)
0:40 'a1' (global highp int)
0:40 Constant:
0:40 4 (const int)
0:41 Sequence
0:41 move second child to first child (highp int)
0:41 'a2' (highp int)
0:41 move second child to first child (temp highp int)
0:41 'a2' (global highp int)
0:41 Constant:
0:41 3 (const int)
0:42 Sequence
0:42 move second child to first child (highp int)
0:42 'a3' (highp int)
0:42 move second child to first child (temp highp int)
0:42 'a3' (global highp int)
0:42 Constant:
0:42 4 (const int)
0:43 Sequence
0:43 move second child to first child (highp int)
0:43 'a4' (highp int)
0:43 'a2' (highp int)
0:43 move second child to first child (temp highp int)
0:43 'a4' (global highp int)
0:43 'a2' (global highp int)
0:45 Sequence
0:45 move second child to first child (highp int)
0:45 'q1' (highp int)
0:45 move second child to first child (temp highp int)
0:45 'q1' (global highp int)
0:45 Constant:
0:45 1 (const int)
0:46 Sequence
0:46 move second child to first child (highp int)
0:46 'q2' (highp int)
0:46 move second child to first child (temp highp int)
0:46 'q2' (global highp int)
0:46 Constant:
0:46 1 (const int)
0:47 Sequence
0:47 move second child to first child (highp int)
0:47 'q3' (highp int)
0:47 move second child to first child (temp highp int)
0:47 'q3' (global highp int)
0:47 Constant:
0:47 1 (const int)
0:48 Sequence
0:48 move second child to first child (highp int)
0:48 'q4' (highp int)
0:48 move second child to first child (temp highp int)
0:48 'q4' (global highp int)
0:48 Constant:
0:48 1 (const int)
0:? Linker Objects
0:? 'foo' (highp float)
0:? 'a1' (highp int)
0:? 'a2' (highp int)
0:? 'a3' (highp int)
0:? 'a4' (highp int)
0:? 'q1' (highp int)
0:? 'q2' (highp int)
0:? 'q3' (highp int)
0:? 'q4' (highp int)
0:? 'foo' (global highp float)
0:? 'a1' (global highp int)
0:? 'a2' (global highp int)
0:? 'a3' (global highp int)
0:? 'a4' (global highp int)
0:? 'q1' (global highp int)
0:? 'q2' (global highp int)
0:? 'q3' (global highp int)
0:? 'q4' (global highp int)