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

@@ -7,39 +7,39 @@ ERROR: 2 compilation errors. No code generated.
Shader version: 110
ERROR: node is still EOpNull!
0:5 Sequence
0:5 move second child to first child (float)
0:5 'sum' (float)
0:5 move second child to first child (temp float)
0:5 'sum' (global float)
0:5 Constant:
0:5 0.000000
0:7 Function Definition: main( (void)
0:7 Function Definition: main( (global void)
0:7 Function Parameters:
0:12 Sequence
0:12 add second child into first child (float)
0:12 'sum' (float)
0:12 add second child into first child (temp float)
0:12 'sum' (global float)
0:12 Constant:
0:12 1.000000
0:22 add second child into first child (float)
0:22 'sum' (float)
0:22 add second child into first child (temp float)
0:22 'sum' (global float)
0:22 Constant:
0:22 300.000000
0:37 add second child into first child (float)
0:37 'sum' (float)
0:37 add second child into first child (temp float)
0:37 'sum' (global float)
0:37 Constant:
0:37 600000.000000
0:47 add second child into first child (float)
0:47 'sum' (float)
0:47 add second child into first child (temp float)
0:47 'sum' (global float)
0:47 Constant:
0:47 80000000.000000
0:52 add second child into first child (float)
0:52 'sum' (float)
0:52 add second child into first child (temp float)
0:52 'sum' (global float)
0:52 Constant:
0:52 900000000.000000
0:56 move second child to first child (4-component vector of float)
0:56 move second child to first child (temp 4-component vector of float)
0:56 'gl_Position' (gl_Position 4-component vector of float)
0:56 Construct vec4 (4-component vector of float)
0:56 'sum' (float)
0:56 Construct vec4 (temp 4-component vector of float)
0:56 'sum' (global float)
0:? Linker Objects
0:? 'sum' (float)
0:? 'sum' (global float)
Linked vertex stage:
@@ -48,37 +48,37 @@ Linked vertex stage:
Shader version: 110
ERROR: node is still EOpNull!
0:5 Sequence
0:5 move second child to first child (float)
0:5 'sum' (float)
0:5 move second child to first child (temp float)
0:5 'sum' (global float)
0:5 Constant:
0:5 0.000000
0:7 Function Definition: main( (void)
0:7 Function Definition: main( (global void)
0:7 Function Parameters:
0:12 Sequence
0:12 add second child into first child (float)
0:12 'sum' (float)
0:12 add second child into first child (temp float)
0:12 'sum' (global float)
0:12 Constant:
0:12 1.000000
0:22 add second child into first child (float)
0:22 'sum' (float)
0:22 add second child into first child (temp float)
0:22 'sum' (global float)
0:22 Constant:
0:22 300.000000
0:37 add second child into first child (float)
0:37 'sum' (float)
0:37 add second child into first child (temp float)
0:37 'sum' (global float)
0:37 Constant:
0:37 600000.000000
0:47 add second child into first child (float)
0:47 'sum' (float)
0:47 add second child into first child (temp float)
0:47 'sum' (global float)
0:47 Constant:
0:47 80000000.000000
0:52 add second child into first child (float)
0:52 'sum' (float)
0:52 add second child into first child (temp float)
0:52 'sum' (global float)
0:52 Constant:
0:52 900000000.000000
0:56 move second child to first child (4-component vector of float)
0:56 move second child to first child (temp 4-component vector of float)
0:56 'gl_Position' (gl_Position 4-component vector of float)
0:56 Construct vec4 (4-component vector of float)
0:56 'sum' (float)
0:56 Construct vec4 (temp 4-component vector of float)
0:56 'sum' (global float)
0:? Linker Objects
0:? 'sum' (float)
0:? 'sum' (global float)