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,33 +2,33 @@ pointCoord.frag
|
||||
|
||||
Shader version: 100
|
||||
0:? Sequence
|
||||
0:5 Function Definition: main( (void)
|
||||
0:5 Function Definition: main( (global void)
|
||||
0:5 Function Parameters:
|
||||
0:? Sequence
|
||||
0:9 Test condition and select (void)
|
||||
0:9 Test condition and select (temp void)
|
||||
0:9 Condition
|
||||
0:9 Compare Less Than (bool)
|
||||
0:9 length (mediump float)
|
||||
0:9 Compare Less Than (temp bool)
|
||||
0:9 length (global mediump float)
|
||||
0:9 'gl_PointCoord' (gl_PointCoord mediump 2-component vector of float)
|
||||
0:9 Constant:
|
||||
0:9 0.300000
|
||||
0:9 true case
|
||||
0:10 move second child to first child (highp 4-component vector of float)
|
||||
0:10 'color' (highp 4-component vector of float)
|
||||
0:10 Function Call: texture2D(s21;vf2; (lowp 4-component vector of float)
|
||||
0:10 move second child to first child (temp highp 4-component vector of float)
|
||||
0:10 'color' (temp highp 4-component vector of float)
|
||||
0:10 Function Call: texture2D(s21;vf2; (global lowp 4-component vector of float)
|
||||
0:10 'sampler' (uniform lowp sampler2D)
|
||||
0:10 'gl_PointCoord' (gl_PointCoord mediump 2-component vector of float)
|
||||
0:9 false case
|
||||
0:12 move second child to first child (highp 4-component vector of float)
|
||||
0:12 'color' (highp 4-component vector of float)
|
||||
0:12 move second child to first child (temp highp 4-component vector of float)
|
||||
0:12 'color' (temp highp 4-component vector of float)
|
||||
0:12 Constant:
|
||||
0:12 0.000000
|
||||
0:12 0.000000
|
||||
0:12 0.000000
|
||||
0:12 0.000000
|
||||
0:14 move second child to first child (highp 4-component vector of float)
|
||||
0:14 move second child to first child (temp highp 4-component vector of float)
|
||||
0:14 'gl_FragColor' (fragColor mediump 4-component vector of float)
|
||||
0:14 'color' (highp 4-component vector of float)
|
||||
0:14 'color' (temp highp 4-component vector of float)
|
||||
0:? Linker Objects
|
||||
0:? 'sampler' (uniform lowp sampler2D)
|
||||
|
||||
@@ -38,33 +38,33 @@ Linked fragment stage:
|
||||
|
||||
Shader version: 100
|
||||
0:? Sequence
|
||||
0:5 Function Definition: main( (void)
|
||||
0:5 Function Definition: main( (global void)
|
||||
0:5 Function Parameters:
|
||||
0:? Sequence
|
||||
0:9 Test condition and select (void)
|
||||
0:9 Test condition and select (temp void)
|
||||
0:9 Condition
|
||||
0:9 Compare Less Than (bool)
|
||||
0:9 length (mediump float)
|
||||
0:9 Compare Less Than (temp bool)
|
||||
0:9 length (global mediump float)
|
||||
0:9 'gl_PointCoord' (gl_PointCoord mediump 2-component vector of float)
|
||||
0:9 Constant:
|
||||
0:9 0.300000
|
||||
0:9 true case
|
||||
0:10 move second child to first child (highp 4-component vector of float)
|
||||
0:10 'color' (highp 4-component vector of float)
|
||||
0:10 Function Call: texture2D(s21;vf2; (lowp 4-component vector of float)
|
||||
0:10 move second child to first child (temp highp 4-component vector of float)
|
||||
0:10 'color' (temp highp 4-component vector of float)
|
||||
0:10 Function Call: texture2D(s21;vf2; (global lowp 4-component vector of float)
|
||||
0:10 'sampler' (uniform lowp sampler2D)
|
||||
0:10 'gl_PointCoord' (gl_PointCoord mediump 2-component vector of float)
|
||||
0:9 false case
|
||||
0:12 move second child to first child (highp 4-component vector of float)
|
||||
0:12 'color' (highp 4-component vector of float)
|
||||
0:12 move second child to first child (temp highp 4-component vector of float)
|
||||
0:12 'color' (temp highp 4-component vector of float)
|
||||
0:12 Constant:
|
||||
0:12 0.000000
|
||||
0:12 0.000000
|
||||
0:12 0.000000
|
||||
0:12 0.000000
|
||||
0:14 move second child to first child (highp 4-component vector of float)
|
||||
0:14 move second child to first child (temp highp 4-component vector of float)
|
||||
0:14 'gl_FragColor' (fragColor mediump 4-component vector of float)
|
||||
0:14 'color' (highp 4-component vector of float)
|
||||
0:14 'color' (temp highp 4-component vector of float)
|
||||
0:? Linker Objects
|
||||
0:? 'sampler' (uniform lowp sampler2D)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user