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,19 +2,19 @@
|
||||
|
||||
Shader version: 110
|
||||
0:? Sequence
|
||||
0:6 Function Definition: main( (void)
|
||||
0:6 Function Definition: main( (global void)
|
||||
0:6 Function Parameters:
|
||||
0:8 Sequence
|
||||
0:8 Sequence
|
||||
0:8 move second child to first child (4-component vector of float)
|
||||
0:8 'v' (4-component vector of float)
|
||||
0:8 Function Call: texture2D(s21;vf2; (4-component vector of float)
|
||||
0:8 move second child to first child (temp 4-component vector of float)
|
||||
0:8 'v' (temp 4-component vector of float)
|
||||
0:8 Function Call: texture2D(s21;vf2; (global 4-component vector of float)
|
||||
0:8 'tex' (uniform sampler2D)
|
||||
0:8 'coord' (smooth in 2-component vector of float)
|
||||
0:10 Test condition and select (void)
|
||||
0:10 Test condition and select (temp void)
|
||||
0:10 Condition
|
||||
0:10 Compare Equal (bool)
|
||||
0:10 'v' (4-component vector of float)
|
||||
0:10 Compare Equal (temp bool)
|
||||
0:10 'v' (temp 4-component vector of float)
|
||||
0:10 Constant:
|
||||
0:10 0.100000
|
||||
0:10 0.200000
|
||||
@@ -22,9 +22,9 @@ Shader version: 110
|
||||
0:10 0.400000
|
||||
0:10 true case
|
||||
0:11 Branch: Kill
|
||||
0:13 move second child to first child (4-component vector of float)
|
||||
0:13 move second child to first child (temp 4-component vector of float)
|
||||
0:13 'gl_FragColor' (fragColor 4-component vector of float)
|
||||
0:13 'v' (4-component vector of float)
|
||||
0:13 'v' (temp 4-component vector of float)
|
||||
0:? Linker Objects
|
||||
0:? 'tex' (uniform sampler2D)
|
||||
0:? 'coord' (smooth in 2-component vector of float)
|
||||
@@ -35,19 +35,19 @@ Linked fragment stage:
|
||||
|
||||
Shader version: 110
|
||||
0:? Sequence
|
||||
0:6 Function Definition: main( (void)
|
||||
0:6 Function Definition: main( (global void)
|
||||
0:6 Function Parameters:
|
||||
0:8 Sequence
|
||||
0:8 Sequence
|
||||
0:8 move second child to first child (4-component vector of float)
|
||||
0:8 'v' (4-component vector of float)
|
||||
0:8 Function Call: texture2D(s21;vf2; (4-component vector of float)
|
||||
0:8 move second child to first child (temp 4-component vector of float)
|
||||
0:8 'v' (temp 4-component vector of float)
|
||||
0:8 Function Call: texture2D(s21;vf2; (global 4-component vector of float)
|
||||
0:8 'tex' (uniform sampler2D)
|
||||
0:8 'coord' (smooth in 2-component vector of float)
|
||||
0:10 Test condition and select (void)
|
||||
0:10 Test condition and select (temp void)
|
||||
0:10 Condition
|
||||
0:10 Compare Equal (bool)
|
||||
0:10 'v' (4-component vector of float)
|
||||
0:10 Compare Equal (temp bool)
|
||||
0:10 'v' (temp 4-component vector of float)
|
||||
0:10 Constant:
|
||||
0:10 0.100000
|
||||
0:10 0.200000
|
||||
@@ -55,9 +55,9 @@ Shader version: 110
|
||||
0:10 0.400000
|
||||
0:10 true case
|
||||
0:11 Branch: Kill
|
||||
0:13 move second child to first child (4-component vector of float)
|
||||
0:13 move second child to first child (temp 4-component vector of float)
|
||||
0:13 'gl_FragColor' (fragColor 4-component vector of float)
|
||||
0:13 'v' (4-component vector of float)
|
||||
0:13 'v' (temp 4-component vector of float)
|
||||
0:? Linker Objects
|
||||
0:? 'tex' (uniform sampler2D)
|
||||
0:? 'coord' (smooth in 2-component vector of float)
|
||||
|
||||
Reference in New Issue
Block a user