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,22 +2,22 @@
|
||||
|
||||
Shader version: 110
|
||||
0:? Sequence
|
||||
0:13 Function Definition: main( (void)
|
||||
0:13 Function Definition: main( (global void)
|
||||
0:13 Function Parameters:
|
||||
0:15 Sequence
|
||||
0:15 Sequence
|
||||
0:15 move second child to first child (float)
|
||||
0:15 'blendscale' (float)
|
||||
0:15 move second child to first child (temp float)
|
||||
0:15 'blendscale' (temp float)
|
||||
0:15 Constant:
|
||||
0:15 1.789000
|
||||
0:17 Sequence
|
||||
0:17 move second child to first child (4-component vector of float)
|
||||
0:17 'v' (4-component vector of float)
|
||||
0:17 vector swizzle (4-component vector of float)
|
||||
0:17 Function Call: texture2D(s21;vf2; (4-component vector of float)
|
||||
0:17 move second child to first child (temp 4-component vector of float)
|
||||
0:17 'v' (temp 4-component vector of float)
|
||||
0:17 vector swizzle (temp 4-component vector of float)
|
||||
0:17 Function Call: texture2D(s21;vf2; (global 4-component vector of float)
|
||||
0:17 'texSampler2D' (uniform sampler2D)
|
||||
0:17 divide (2-component vector of float)
|
||||
0:17 add (2-component vector of float)
|
||||
0:17 divide (temp 2-component vector of float)
|
||||
0:17 add (temp 2-component vector of float)
|
||||
0:17 't' (smooth in 2-component vector of float)
|
||||
0:17 'scale' (uniform 2-component vector of float)
|
||||
0:17 'scale' (uniform 2-component vector of float)
|
||||
@@ -31,21 +31,21 @@ Shader version: 110
|
||||
0:17 Constant:
|
||||
0:17 0 (const int)
|
||||
0:19 Sequence
|
||||
0:19 move second child to first child (4-component vector of float)
|
||||
0:19 'w' (4-component vector of float)
|
||||
0:19 add (4-component vector of float)
|
||||
0:19 Function Call: texture3D(s31;vf3; (4-component vector of float)
|
||||
0:19 move second child to first child (temp 4-component vector of float)
|
||||
0:19 'w' (temp 4-component vector of float)
|
||||
0:19 add (temp 4-component vector of float)
|
||||
0:19 Function Call: texture3D(s31;vf3; (global 4-component vector of float)
|
||||
0:19 'texSampler3D' (uniform sampler3D)
|
||||
0:19 'coords' (smooth in 3-component vector of float)
|
||||
0:19 'v' (4-component vector of float)
|
||||
0:21 move second child to first child (4-component vector of float)
|
||||
0:19 'v' (temp 4-component vector of float)
|
||||
0:21 move second child to first child (temp 4-component vector of float)
|
||||
0:21 'gl_FragColor' (fragColor 4-component vector of float)
|
||||
0:21 mix (4-component vector of float)
|
||||
0:21 'w' (4-component vector of float)
|
||||
0:21 mix (global 4-component vector of float)
|
||||
0:21 'w' (temp 4-component vector of float)
|
||||
0:21 'u' (uniform 4-component vector of float)
|
||||
0:21 component-wise multiply (float)
|
||||
0:21 component-wise multiply (temp float)
|
||||
0:21 'blend' (uniform float)
|
||||
0:21 'blendscale' (float)
|
||||
0:21 'blendscale' (temp float)
|
||||
0:? Linker Objects
|
||||
0:? 'texSampler2D' (uniform sampler2D)
|
||||
0:? 'texSampler3D' (uniform sampler3D)
|
||||
@@ -61,22 +61,22 @@ Linked fragment stage:
|
||||
|
||||
Shader version: 110
|
||||
0:? Sequence
|
||||
0:13 Function Definition: main( (void)
|
||||
0:13 Function Definition: main( (global void)
|
||||
0:13 Function Parameters:
|
||||
0:15 Sequence
|
||||
0:15 Sequence
|
||||
0:15 move second child to first child (float)
|
||||
0:15 'blendscale' (float)
|
||||
0:15 move second child to first child (temp float)
|
||||
0:15 'blendscale' (temp float)
|
||||
0:15 Constant:
|
||||
0:15 1.789000
|
||||
0:17 Sequence
|
||||
0:17 move second child to first child (4-component vector of float)
|
||||
0:17 'v' (4-component vector of float)
|
||||
0:17 vector swizzle (4-component vector of float)
|
||||
0:17 Function Call: texture2D(s21;vf2; (4-component vector of float)
|
||||
0:17 move second child to first child (temp 4-component vector of float)
|
||||
0:17 'v' (temp 4-component vector of float)
|
||||
0:17 vector swizzle (temp 4-component vector of float)
|
||||
0:17 Function Call: texture2D(s21;vf2; (global 4-component vector of float)
|
||||
0:17 'texSampler2D' (uniform sampler2D)
|
||||
0:17 divide (2-component vector of float)
|
||||
0:17 add (2-component vector of float)
|
||||
0:17 divide (temp 2-component vector of float)
|
||||
0:17 add (temp 2-component vector of float)
|
||||
0:17 't' (smooth in 2-component vector of float)
|
||||
0:17 'scale' (uniform 2-component vector of float)
|
||||
0:17 'scale' (uniform 2-component vector of float)
|
||||
@@ -90,21 +90,21 @@ Shader version: 110
|
||||
0:17 Constant:
|
||||
0:17 0 (const int)
|
||||
0:19 Sequence
|
||||
0:19 move second child to first child (4-component vector of float)
|
||||
0:19 'w' (4-component vector of float)
|
||||
0:19 add (4-component vector of float)
|
||||
0:19 Function Call: texture3D(s31;vf3; (4-component vector of float)
|
||||
0:19 move second child to first child (temp 4-component vector of float)
|
||||
0:19 'w' (temp 4-component vector of float)
|
||||
0:19 add (temp 4-component vector of float)
|
||||
0:19 Function Call: texture3D(s31;vf3; (global 4-component vector of float)
|
||||
0:19 'texSampler3D' (uniform sampler3D)
|
||||
0:19 'coords' (smooth in 3-component vector of float)
|
||||
0:19 'v' (4-component vector of float)
|
||||
0:21 move second child to first child (4-component vector of float)
|
||||
0:19 'v' (temp 4-component vector of float)
|
||||
0:21 move second child to first child (temp 4-component vector of float)
|
||||
0:21 'gl_FragColor' (fragColor 4-component vector of float)
|
||||
0:21 mix (4-component vector of float)
|
||||
0:21 'w' (4-component vector of float)
|
||||
0:21 mix (global 4-component vector of float)
|
||||
0:21 'w' (temp 4-component vector of float)
|
||||
0:21 'u' (uniform 4-component vector of float)
|
||||
0:21 component-wise multiply (float)
|
||||
0:21 component-wise multiply (temp float)
|
||||
0:21 'blend' (uniform float)
|
||||
0:21 'blendscale' (float)
|
||||
0:21 'blendscale' (temp float)
|
||||
0:? Linker Objects
|
||||
0:? 'texSampler2D' (uniform sampler2D)
|
||||
0:? 'texSampler3D' (uniform sampler3D)
|
||||
|
||||
Reference in New Issue
Block a user