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:
@@ -2,34 +2,34 @@
|
||||
|
||||
Shader version: 120
|
||||
0:? Sequence
|
||||
0:10 Function Definition: main( (void)
|
||||
0:10 Function Definition: main( (global void)
|
||||
0:10 Function Parameters:
|
||||
0:12 Sequence
|
||||
0:12 Sequence
|
||||
0:12 move second child to first child (4-component vector of float)
|
||||
0:12 'color' (4-component vector of float)
|
||||
0:12 move second child to first child (temp 4-component vector of float)
|
||||
0:12 'color' (temp 4-component vector of float)
|
||||
0:12 'BaseColor' (smooth in 4-component vector of float)
|
||||
0:15 move second child to first child (4-component vector of float)
|
||||
0:15 'color2' (4-component vector of float)
|
||||
0:15 move second child to first child (temp 4-component vector of float)
|
||||
0:15 'color2' (temp 4-component vector of float)
|
||||
0:15 'otherColor' (uniform 4-component vector of float)
|
||||
0:17 Test condition and select (void)
|
||||
0:17 Test condition and select (temp void)
|
||||
0:17 Condition
|
||||
0:17 Compare Greater Than (bool)
|
||||
0:17 Compare Greater Than (temp bool)
|
||||
0:17 'c' (smooth in float)
|
||||
0:17 'd' (uniform float)
|
||||
0:17 true case
|
||||
0:18 add second child into first child (4-component vector of float)
|
||||
0:18 'color' (4-component vector of float)
|
||||
0:18 add second child into first child (temp 4-component vector of float)
|
||||
0:18 'color' (temp 4-component vector of float)
|
||||
0:18 'bigColor' (uniform 4-component vector of float)
|
||||
0:17 false case
|
||||
0:20 add second child into first child (4-component vector of float)
|
||||
0:20 'color' (4-component vector of float)
|
||||
0:20 add second child into first child (temp 4-component vector of float)
|
||||
0:20 'color' (temp 4-component vector of float)
|
||||
0:20 'smallColor' (uniform 4-component vector of float)
|
||||
0:22 move second child to first child (4-component vector of float)
|
||||
0:22 move second child to first child (temp 4-component vector of float)
|
||||
0:22 'gl_FragColor' (fragColor 4-component vector of float)
|
||||
0:22 component-wise multiply (4-component vector of float)
|
||||
0:22 'color' (4-component vector of float)
|
||||
0:22 'color2' (4-component vector of float)
|
||||
0:22 component-wise multiply (temp 4-component vector of float)
|
||||
0:22 'color' (temp 4-component vector of float)
|
||||
0:22 'color2' (temp 4-component vector of float)
|
||||
0:? Linker Objects
|
||||
0:? 'd' (uniform float)
|
||||
0:? 'bigColor' (uniform 4-component vector of float)
|
||||
@@ -44,34 +44,34 @@ Linked fragment stage:
|
||||
|
||||
Shader version: 120
|
||||
0:? Sequence
|
||||
0:10 Function Definition: main( (void)
|
||||
0:10 Function Definition: main( (global void)
|
||||
0:10 Function Parameters:
|
||||
0:12 Sequence
|
||||
0:12 Sequence
|
||||
0:12 move second child to first child (4-component vector of float)
|
||||
0:12 'color' (4-component vector of float)
|
||||
0:12 move second child to first child (temp 4-component vector of float)
|
||||
0:12 'color' (temp 4-component vector of float)
|
||||
0:12 'BaseColor' (smooth in 4-component vector of float)
|
||||
0:15 move second child to first child (4-component vector of float)
|
||||
0:15 'color2' (4-component vector of float)
|
||||
0:15 move second child to first child (temp 4-component vector of float)
|
||||
0:15 'color2' (temp 4-component vector of float)
|
||||
0:15 'otherColor' (uniform 4-component vector of float)
|
||||
0:17 Test condition and select (void)
|
||||
0:17 Test condition and select (temp void)
|
||||
0:17 Condition
|
||||
0:17 Compare Greater Than (bool)
|
||||
0:17 Compare Greater Than (temp bool)
|
||||
0:17 'c' (smooth in float)
|
||||
0:17 'd' (uniform float)
|
||||
0:17 true case
|
||||
0:18 add second child into first child (4-component vector of float)
|
||||
0:18 'color' (4-component vector of float)
|
||||
0:18 add second child into first child (temp 4-component vector of float)
|
||||
0:18 'color' (temp 4-component vector of float)
|
||||
0:18 'bigColor' (uniform 4-component vector of float)
|
||||
0:17 false case
|
||||
0:20 add second child into first child (4-component vector of float)
|
||||
0:20 'color' (4-component vector of float)
|
||||
0:20 add second child into first child (temp 4-component vector of float)
|
||||
0:20 'color' (temp 4-component vector of float)
|
||||
0:20 'smallColor' (uniform 4-component vector of float)
|
||||
0:22 move second child to first child (4-component vector of float)
|
||||
0:22 move second child to first child (temp 4-component vector of float)
|
||||
0:22 'gl_FragColor' (fragColor 4-component vector of float)
|
||||
0:22 component-wise multiply (4-component vector of float)
|
||||
0:22 'color' (4-component vector of float)
|
||||
0:22 'color2' (4-component vector of float)
|
||||
0:22 component-wise multiply (temp 4-component vector of float)
|
||||
0:22 'color' (temp 4-component vector of float)
|
||||
0:22 'color2' (temp 4-component vector of float)
|
||||
0:? Linker Objects
|
||||
0:? 'd' (uniform float)
|
||||
0:? 'bigColor' (uniform 4-component vector of float)
|
||||
|
||||
Reference in New Issue
Block a user