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

@@ -3,45 +3,45 @@
Shader version: 120
0:? Sequence
0:7 Sequence
0:7 move second child to first child (float)
0:7 'bar' (float)
0:7 move second child to first child (temp float)
0:7 'bar' (global float)
0:7 Constant:
0:7 2.000000
0:9 Function Definition: foo( (void)
0:9 Function Definition: foo( (global void)
0:9 Function Parameters:
0:11 Sequence
0:11 Post-Increment (float)
0:11 'bar' (float)
0:11 Post-Increment (temp float)
0:11 'bar' (global float)
0:13 Branch: Return
0:16 Function Definition: foo2( (void)
0:16 Function Definition: foo2( (global void)
0:16 Function Parameters:
0:18 Sequence
0:18 Post-Increment (float)
0:18 'bar' (float)
0:21 Function Definition: main( (void)
0:18 Post-Increment (temp float)
0:18 'bar' (global float)
0:21 Function Definition: main( (global void)
0:21 Function Parameters:
0:23 Sequence
0:23 Sequence
0:23 move second child to first child (4-component vector of float)
0:23 'outColor' (4-component vector of float)
0:23 move second child to first child (temp 4-component vector of float)
0:23 'outColor' (temp 4-component vector of float)
0:23 'bigColor' (uniform 4-component vector of float)
0:25 Function Call: foo( (void)
0:27 Function Call: foo2( (void)
0:29 add second child into first child (float)
0:29 direct index (float)
0:29 'outColor' (4-component vector of float)
0:25 Function Call: foo( (global void)
0:27 Function Call: foo2( (global void)
0:29 add second child into first child (temp float)
0:29 direct index (temp float)
0:29 'outColor' (temp 4-component vector of float)
0:29 Constant:
0:29 0 (const int)
0:29 'bar' (float)
0:31 move second child to first child (4-component vector of float)
0:29 'bar' (global float)
0:31 move second child to first child (temp 4-component vector of float)
0:31 'gl_FragColor' (fragColor 4-component vector of float)
0:31 'outColor' (4-component vector of float)
0:31 'outColor' (temp 4-component vector of float)
0:33 Branch: Return
0:? Linker Objects
0:? 'bigColor' (uniform 4-component vector of float)
0:? 'BaseColor' (smooth in 4-component vector of float)
0:? 'd' (uniform float)
0:? 'bar' (float)
0:? 'bar' (global float)
Linked fragment stage:
@@ -50,43 +50,43 @@ Linked fragment stage:
Shader version: 120
0:? Sequence
0:7 Sequence
0:7 move second child to first child (float)
0:7 'bar' (float)
0:7 move second child to first child (temp float)
0:7 'bar' (global float)
0:7 Constant:
0:7 2.000000
0:9 Function Definition: foo( (void)
0:9 Function Definition: foo( (global void)
0:9 Function Parameters:
0:11 Sequence
0:11 Post-Increment (float)
0:11 'bar' (float)
0:11 Post-Increment (temp float)
0:11 'bar' (global float)
0:13 Branch: Return
0:16 Function Definition: foo2( (void)
0:16 Function Definition: foo2( (global void)
0:16 Function Parameters:
0:18 Sequence
0:18 Post-Increment (float)
0:18 'bar' (float)
0:21 Function Definition: main( (void)
0:18 Post-Increment (temp float)
0:18 'bar' (global float)
0:21 Function Definition: main( (global void)
0:21 Function Parameters:
0:23 Sequence
0:23 Sequence
0:23 move second child to first child (4-component vector of float)
0:23 'outColor' (4-component vector of float)
0:23 move second child to first child (temp 4-component vector of float)
0:23 'outColor' (temp 4-component vector of float)
0:23 'bigColor' (uniform 4-component vector of float)
0:25 Function Call: foo( (void)
0:27 Function Call: foo2( (void)
0:29 add second child into first child (float)
0:29 direct index (float)
0:29 'outColor' (4-component vector of float)
0:25 Function Call: foo( (global void)
0:27 Function Call: foo2( (global void)
0:29 add second child into first child (temp float)
0:29 direct index (temp float)
0:29 'outColor' (temp 4-component vector of float)
0:29 Constant:
0:29 0 (const int)
0:29 'bar' (float)
0:31 move second child to first child (4-component vector of float)
0:29 'bar' (global float)
0:31 move second child to first child (temp 4-component vector of float)
0:31 'gl_FragColor' (fragColor 4-component vector of float)
0:31 'outColor' (4-component vector of float)
0:31 'outColor' (temp 4-component vector of float)
0:33 Branch: Return
0:? Linker Objects
0:? 'bigColor' (uniform 4-component vector of float)
0:? 'BaseColor' (smooth in 4-component vector of float)
0:? 'd' (uniform float)
0:? 'bar' (float)
0:? 'bar' (global float)