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
|
|
@ -3,21 +3,21 @@ WARNING: 0:3: varying deprecated in version 130; may be removed in future releas
|
|||
|
||||
Shader version: 130
|
||||
0:? Sequence
|
||||
0:20 Function Definition: main( (void)
|
||||
0:20 Function Definition: main( (global void)
|
||||
0:20 Function Parameters:
|
||||
0:22 Sequence
|
||||
0:22 Sequence
|
||||
0:22 move second child to first child (float)
|
||||
0:22 'scale' (float)
|
||||
0:22 move second child to first child (temp float)
|
||||
0:22 'scale' (temp float)
|
||||
0:22 Constant:
|
||||
0:22 0.000000
|
||||
0:24 Test condition and select (void)
|
||||
0:24 Test condition and select (temp void)
|
||||
0:24 Condition
|
||||
0:24 Compare Greater Than (bool)
|
||||
0:24 direct index (int)
|
||||
0:24 i: direct index for structure (5-element array of int)
|
||||
0:24 direct index (structure{5-element array of int i, float f, 7-element array of structure{int i, 4-element array of float f, 5-element array of 4-component vector of float color} s1_1})
|
||||
0:24 'foo2' (uniform 5-element array of structure{5-element array of int i, float f, 7-element array of structure{int i, 4-element array of float f, 5-element array of 4-component vector of float color} s1_1})
|
||||
0:24 Compare Greater Than (temp bool)
|
||||
0:24 direct index (temp int)
|
||||
0:24 i: direct index for structure (global 5-element array of int)
|
||||
0:24 direct index (temp structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})
|
||||
0:24 'foo2' (uniform 5-element array of structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})
|
||||
0:24 Constant:
|
||||
0:24 3 (const int)
|
||||
0:24 Constant:
|
||||
|
|
@ -27,15 +27,15 @@ Shader version: 130
|
|||
0:24 Constant:
|
||||
0:24 0 (const int)
|
||||
0:24 true case
|
||||
0:25 move second child to first child (float)
|
||||
0:25 'scale' (float)
|
||||
0:25 direct index (float)
|
||||
0:25 direct index (4-component vector of float)
|
||||
0:25 color: direct index for structure (5-element array of 4-component vector of float)
|
||||
0:25 direct index (structure{int i, 4-element array of float f, 5-element array of 4-component vector of float color})
|
||||
0:25 s1_1: direct index for structure (7-element array of structure{int i, 4-element array of float f, 5-element array of 4-component vector of float color})
|
||||
0:25 direct index (structure{5-element array of int i, float f, 7-element array of structure{int i, 4-element array of float f, 5-element array of 4-component vector of float color} s1_1})
|
||||
0:25 'foo2' (uniform 5-element array of structure{5-element array of int i, float f, 7-element array of structure{int i, 4-element array of float f, 5-element array of 4-component vector of float color} s1_1})
|
||||
0:25 move second child to first child (temp float)
|
||||
0:25 'scale' (temp float)
|
||||
0:25 direct index (temp float)
|
||||
0:25 direct index (temp 4-component vector of float)
|
||||
0:25 color: direct index for structure (global 5-element array of 4-component vector of float)
|
||||
0:25 direct index (temp structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color})
|
||||
0:25 s1_1: direct index for structure (global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color})
|
||||
0:25 direct index (temp structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})
|
||||
0:25 'foo2' (uniform 5-element array of structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})
|
||||
0:25 Constant:
|
||||
0:25 3 (const int)
|
||||
0:25 Constant:
|
||||
|
|
@ -49,14 +49,14 @@ Shader version: 130
|
|||
0:25 Constant:
|
||||
0:25 0 (const int)
|
||||
0:24 false case
|
||||
0:27 move second child to first child (float)
|
||||
0:27 'scale' (float)
|
||||
0:27 direct index (float)
|
||||
0:27 f: direct index for structure (4-element array of float)
|
||||
0:27 direct index (structure{int i, 4-element array of float f, 5-element array of 4-component vector of float color})
|
||||
0:27 s1_1: direct index for structure (7-element array of structure{int i, 4-element array of float f, 5-element array of 4-component vector of float color})
|
||||
0:27 direct index (structure{5-element array of int i, float f, 7-element array of structure{int i, 4-element array of float f, 5-element array of 4-component vector of float color} s1_1})
|
||||
0:27 'foo2' (uniform 5-element array of structure{5-element array of int i, float f, 7-element array of structure{int i, 4-element array of float f, 5-element array of 4-component vector of float color} s1_1})
|
||||
0:27 move second child to first child (temp float)
|
||||
0:27 'scale' (temp float)
|
||||
0:27 direct index (temp float)
|
||||
0:27 f: direct index for structure (global 4-element array of float)
|
||||
0:27 direct index (temp structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color})
|
||||
0:27 s1_1: direct index for structure (global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color})
|
||||
0:27 direct index (temp structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})
|
||||
0:27 'foo2' (uniform 5-element array of structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})
|
||||
0:27 Constant:
|
||||
0:27 3 (const int)
|
||||
0:27 Constant:
|
||||
|
|
@ -67,18 +67,18 @@ Shader version: 130
|
|||
0:27 1 (const int)
|
||||
0:27 Constant:
|
||||
0:27 3 (const int)
|
||||
0:29 move second child to first child (4-component vector of float)
|
||||
0:29 move second child to first child (temp 4-component vector of float)
|
||||
0:29 'gl_FragColor' (fragColor 4-component vector of float)
|
||||
0:29 vector-scale (4-component vector of float)
|
||||
0:29 'scale' (float)
|
||||
0:29 Function Call: texture2D(s21;vf2; (4-component vector of float)
|
||||
0:29 vector-scale (temp 4-component vector of float)
|
||||
0:29 'scale' (temp float)
|
||||
0:29 Function Call: texture2D(s21;vf2; (global 4-component vector of float)
|
||||
0:29 'sampler' (uniform sampler2D)
|
||||
0:29 'coord' (smooth in 2-component vector of float)
|
||||
0:? Linker Objects
|
||||
0:? 'sampler' (uniform sampler2D)
|
||||
0:? 'coord' (smooth in 2-component vector of float)
|
||||
0:? 'foo' (uniform structure{int i, 4-element array of float f, 5-element array of 4-component vector of float color})
|
||||
0:? 'foo2' (uniform 5-element array of structure{5-element array of int i, float f, 7-element array of structure{int i, 4-element array of float f, 5-element array of 4-component vector of float color} s1_1})
|
||||
0:? 'foo' (uniform structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color})
|
||||
0:? 'foo2' (uniform 5-element array of structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
|
|
@ -86,21 +86,21 @@ Linked fragment stage:
|
|||
|
||||
Shader version: 130
|
||||
0:? Sequence
|
||||
0:20 Function Definition: main( (void)
|
||||
0:20 Function Definition: main( (global void)
|
||||
0:20 Function Parameters:
|
||||
0:22 Sequence
|
||||
0:22 Sequence
|
||||
0:22 move second child to first child (float)
|
||||
0:22 'scale' (float)
|
||||
0:22 move second child to first child (temp float)
|
||||
0:22 'scale' (temp float)
|
||||
0:22 Constant:
|
||||
0:22 0.000000
|
||||
0:24 Test condition and select (void)
|
||||
0:24 Test condition and select (temp void)
|
||||
0:24 Condition
|
||||
0:24 Compare Greater Than (bool)
|
||||
0:24 direct index (int)
|
||||
0:24 i: direct index for structure (5-element array of int)
|
||||
0:24 direct index (structure{5-element array of int i, float f, 7-element array of structure{int i, 4-element array of float f, 5-element array of 4-component vector of float color} s1_1})
|
||||
0:24 'foo2' (uniform 5-element array of structure{5-element array of int i, float f, 7-element array of structure{int i, 4-element array of float f, 5-element array of 4-component vector of float color} s1_1})
|
||||
0:24 Compare Greater Than (temp bool)
|
||||
0:24 direct index (temp int)
|
||||
0:24 i: direct index for structure (global 5-element array of int)
|
||||
0:24 direct index (temp structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})
|
||||
0:24 'foo2' (uniform 5-element array of structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})
|
||||
0:24 Constant:
|
||||
0:24 3 (const int)
|
||||
0:24 Constant:
|
||||
|
|
@ -110,15 +110,15 @@ Shader version: 130
|
|||
0:24 Constant:
|
||||
0:24 0 (const int)
|
||||
0:24 true case
|
||||
0:25 move second child to first child (float)
|
||||
0:25 'scale' (float)
|
||||
0:25 direct index (float)
|
||||
0:25 direct index (4-component vector of float)
|
||||
0:25 color: direct index for structure (5-element array of 4-component vector of float)
|
||||
0:25 direct index (structure{int i, 4-element array of float f, 5-element array of 4-component vector of float color})
|
||||
0:25 s1_1: direct index for structure (7-element array of structure{int i, 4-element array of float f, 5-element array of 4-component vector of float color})
|
||||
0:25 direct index (structure{5-element array of int i, float f, 7-element array of structure{int i, 4-element array of float f, 5-element array of 4-component vector of float color} s1_1})
|
||||
0:25 'foo2' (uniform 5-element array of structure{5-element array of int i, float f, 7-element array of structure{int i, 4-element array of float f, 5-element array of 4-component vector of float color} s1_1})
|
||||
0:25 move second child to first child (temp float)
|
||||
0:25 'scale' (temp float)
|
||||
0:25 direct index (temp float)
|
||||
0:25 direct index (temp 4-component vector of float)
|
||||
0:25 color: direct index for structure (global 5-element array of 4-component vector of float)
|
||||
0:25 direct index (temp structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color})
|
||||
0:25 s1_1: direct index for structure (global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color})
|
||||
0:25 direct index (temp structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})
|
||||
0:25 'foo2' (uniform 5-element array of structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})
|
||||
0:25 Constant:
|
||||
0:25 3 (const int)
|
||||
0:25 Constant:
|
||||
|
|
@ -132,14 +132,14 @@ Shader version: 130
|
|||
0:25 Constant:
|
||||
0:25 0 (const int)
|
||||
0:24 false case
|
||||
0:27 move second child to first child (float)
|
||||
0:27 'scale' (float)
|
||||
0:27 direct index (float)
|
||||
0:27 f: direct index for structure (4-element array of float)
|
||||
0:27 direct index (structure{int i, 4-element array of float f, 5-element array of 4-component vector of float color})
|
||||
0:27 s1_1: direct index for structure (7-element array of structure{int i, 4-element array of float f, 5-element array of 4-component vector of float color})
|
||||
0:27 direct index (structure{5-element array of int i, float f, 7-element array of structure{int i, 4-element array of float f, 5-element array of 4-component vector of float color} s1_1})
|
||||
0:27 'foo2' (uniform 5-element array of structure{5-element array of int i, float f, 7-element array of structure{int i, 4-element array of float f, 5-element array of 4-component vector of float color} s1_1})
|
||||
0:27 move second child to first child (temp float)
|
||||
0:27 'scale' (temp float)
|
||||
0:27 direct index (temp float)
|
||||
0:27 f: direct index for structure (global 4-element array of float)
|
||||
0:27 direct index (temp structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color})
|
||||
0:27 s1_1: direct index for structure (global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color})
|
||||
0:27 direct index (temp structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})
|
||||
0:27 'foo2' (uniform 5-element array of structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})
|
||||
0:27 Constant:
|
||||
0:27 3 (const int)
|
||||
0:27 Constant:
|
||||
|
|
@ -150,16 +150,16 @@ Shader version: 130
|
|||
0:27 1 (const int)
|
||||
0:27 Constant:
|
||||
0:27 3 (const int)
|
||||
0:29 move second child to first child (4-component vector of float)
|
||||
0:29 move second child to first child (temp 4-component vector of float)
|
||||
0:29 'gl_FragColor' (fragColor 4-component vector of float)
|
||||
0:29 vector-scale (4-component vector of float)
|
||||
0:29 'scale' (float)
|
||||
0:29 Function Call: texture2D(s21;vf2; (4-component vector of float)
|
||||
0:29 vector-scale (temp 4-component vector of float)
|
||||
0:29 'scale' (temp float)
|
||||
0:29 Function Call: texture2D(s21;vf2; (global 4-component vector of float)
|
||||
0:29 'sampler' (uniform sampler2D)
|
||||
0:29 'coord' (smooth in 2-component vector of float)
|
||||
0:? Linker Objects
|
||||
0:? 'sampler' (uniform sampler2D)
|
||||
0:? 'coord' (smooth in 2-component vector of float)
|
||||
0:? 'foo' (uniform structure{int i, 4-element array of float f, 5-element array of 4-component vector of float color})
|
||||
0:? 'foo2' (uniform 5-element array of structure{5-element array of int i, float f, 7-element array of structure{int i, 4-element array of float f, 5-element array of 4-component vector of float color} s1_1})
|
||||
0:? 'foo' (uniform structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color})
|
||||
0:? 'foo2' (uniform 5-element array of structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue