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:
parent
bcef333a78
commit
8b37b04ecc
130 changed files with 15103 additions and 15104 deletions
|
|
@ -2,34 +2,34 @@ forwardRef.frag
|
|||
|
||||
Shader version: 110
|
||||
0:? Sequence
|
||||
0:11 Function Definition: main( (void)
|
||||
0:11 Function Definition: main( (global void)
|
||||
0:11 Function Parameters:
|
||||
0:13 Sequence
|
||||
0:13 Sequence
|
||||
0:13 move second child to first child (4-component vector of float)
|
||||
0:13 'color' (4-component vector of float)
|
||||
0:13 Construct vec4 (4-component vector of float)
|
||||
0:13 Function Call: foo(vf4; (float)
|
||||
0:13 move second child to first child (temp 4-component vector of float)
|
||||
0:13 'color' (temp 4-component vector of float)
|
||||
0:13 Construct vec4 (temp 4-component vector of float)
|
||||
0:13 Function Call: foo(vf4; (global float)
|
||||
0:13 'BaseColor' (smooth in 4-component vector of float)
|
||||
0:15 Function Call: bar( (void)
|
||||
0:15 Function Call: bar( (global void)
|
||||
0:16 Sequence
|
||||
0:16 move second child to first child (float)
|
||||
0:16 'f' (float)
|
||||
0:16 Function Call: unreachableReturn( (float)
|
||||
0:18 move second child to first child (4-component vector of float)
|
||||
0:16 move second child to first child (temp float)
|
||||
0:16 'f' (temp float)
|
||||
0:16 Function Call: unreachableReturn( (global float)
|
||||
0:18 move second child to first child (temp 4-component vector of float)
|
||||
0:18 'gl_FragColor' (fragColor 4-component vector of float)
|
||||
0:18 vector-scale (4-component vector of float)
|
||||
0:18 'color' (4-component vector of float)
|
||||
0:18 'f' (float)
|
||||
0:21 Function Definition: bar( (void)
|
||||
0:18 vector-scale (temp 4-component vector of float)
|
||||
0:18 'color' (temp 4-component vector of float)
|
||||
0:18 'f' (temp float)
|
||||
0:21 Function Definition: bar( (global void)
|
||||
0:21 Function Parameters:
|
||||
0:25 Function Definition: unreachableReturn( (float)
|
||||
0:25 Function Definition: unreachableReturn( (global float)
|
||||
0:25 Function Parameters:
|
||||
0:27 Sequence
|
||||
0:27 Function Call: bar( (void)
|
||||
0:28 Test condition and select (void)
|
||||
0:27 Function Call: bar( (global void)
|
||||
0:28 Test condition and select (temp void)
|
||||
0:28 Condition
|
||||
0:28 Compare Less Than (bool)
|
||||
0:28 Compare Less Than (temp bool)
|
||||
0:28 'd' (uniform float)
|
||||
0:28 Constant:
|
||||
0:28 4.200000
|
||||
|
|
@ -41,17 +41,17 @@ Shader version: 110
|
|||
0:31 Branch: Return with expression
|
||||
0:31 Constant:
|
||||
0:31 4.500000
|
||||
0:34 Function Definition: foo(vf4; (float)
|
||||
0:34 Function Definition: foo(vf4; (global float)
|
||||
0:34 Function Parameters:
|
||||
0:34 'bar' (in 4-component vector of float)
|
||||
0:36 Sequence
|
||||
0:36 Branch: Return with expression
|
||||
0:36 add (float)
|
||||
0:36 direct index (float)
|
||||
0:36 add (temp float)
|
||||
0:36 direct index (temp float)
|
||||
0:36 'bar' (in 4-component vector of float)
|
||||
0:36 Constant:
|
||||
0:36 0 (const int)
|
||||
0:36 direct index (float)
|
||||
0:36 direct index (temp float)
|
||||
0:36 'bar' (in 4-component vector of float)
|
||||
0:36 Constant:
|
||||
0:36 1 (const int)
|
||||
|
|
@ -66,34 +66,34 @@ Linked fragment stage:
|
|||
|
||||
Shader version: 110
|
||||
0:? Sequence
|
||||
0:11 Function Definition: main( (void)
|
||||
0:11 Function Definition: main( (global void)
|
||||
0:11 Function Parameters:
|
||||
0:13 Sequence
|
||||
0:13 Sequence
|
||||
0:13 move second child to first child (4-component vector of float)
|
||||
0:13 'color' (4-component vector of float)
|
||||
0:13 Construct vec4 (4-component vector of float)
|
||||
0:13 Function Call: foo(vf4; (float)
|
||||
0:13 move second child to first child (temp 4-component vector of float)
|
||||
0:13 'color' (temp 4-component vector of float)
|
||||
0:13 Construct vec4 (temp 4-component vector of float)
|
||||
0:13 Function Call: foo(vf4; (global float)
|
||||
0:13 'BaseColor' (smooth in 4-component vector of float)
|
||||
0:15 Function Call: bar( (void)
|
||||
0:15 Function Call: bar( (global void)
|
||||
0:16 Sequence
|
||||
0:16 move second child to first child (float)
|
||||
0:16 'f' (float)
|
||||
0:16 Function Call: unreachableReturn( (float)
|
||||
0:18 move second child to first child (4-component vector of float)
|
||||
0:16 move second child to first child (temp float)
|
||||
0:16 'f' (temp float)
|
||||
0:16 Function Call: unreachableReturn( (global float)
|
||||
0:18 move second child to first child (temp 4-component vector of float)
|
||||
0:18 'gl_FragColor' (fragColor 4-component vector of float)
|
||||
0:18 vector-scale (4-component vector of float)
|
||||
0:18 'color' (4-component vector of float)
|
||||
0:18 'f' (float)
|
||||
0:21 Function Definition: bar( (void)
|
||||
0:18 vector-scale (temp 4-component vector of float)
|
||||
0:18 'color' (temp 4-component vector of float)
|
||||
0:18 'f' (temp float)
|
||||
0:21 Function Definition: bar( (global void)
|
||||
0:21 Function Parameters:
|
||||
0:25 Function Definition: unreachableReturn( (float)
|
||||
0:25 Function Definition: unreachableReturn( (global float)
|
||||
0:25 Function Parameters:
|
||||
0:27 Sequence
|
||||
0:27 Function Call: bar( (void)
|
||||
0:28 Test condition and select (void)
|
||||
0:27 Function Call: bar( (global void)
|
||||
0:28 Test condition and select (temp void)
|
||||
0:28 Condition
|
||||
0:28 Compare Less Than (bool)
|
||||
0:28 Compare Less Than (temp bool)
|
||||
0:28 'd' (uniform float)
|
||||
0:28 Constant:
|
||||
0:28 4.200000
|
||||
|
|
@ -105,17 +105,17 @@ Shader version: 110
|
|||
0:31 Branch: Return with expression
|
||||
0:31 Constant:
|
||||
0:31 4.500000
|
||||
0:34 Function Definition: foo(vf4; (float)
|
||||
0:34 Function Definition: foo(vf4; (global float)
|
||||
0:34 Function Parameters:
|
||||
0:34 'bar' (in 4-component vector of float)
|
||||
0:36 Sequence
|
||||
0:36 Branch: Return with expression
|
||||
0:36 add (float)
|
||||
0:36 direct index (float)
|
||||
0:36 add (temp float)
|
||||
0:36 direct index (temp float)
|
||||
0:36 'bar' (in 4-component vector of float)
|
||||
0:36 Constant:
|
||||
0:36 0 (const int)
|
||||
0:36 direct index (float)
|
||||
0:36 direct index (temp float)
|
||||
0:36 'bar' (in 4-component vector of float)
|
||||
0:36 Constant:
|
||||
0:36 1 (const int)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue