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:
@@ -40,42 +40,42 @@ vertex spacing = fractional_odd_spacing
|
||||
triangle order = cw
|
||||
using point mode
|
||||
ERROR: node is still EOpNull!
|
||||
0:20 Function Definition: main( (void)
|
||||
0:20 Function Definition: main( (global void)
|
||||
0:20 Function Parameters:
|
||||
0:22 Sequence
|
||||
0:22 Constant:
|
||||
0:22 0.000000
|
||||
0:24 Sequence
|
||||
0:24 move second child to first child (int)
|
||||
0:24 'a' (int)
|
||||
0:24 move second child to first child (temp int)
|
||||
0:24 'a' (temp int)
|
||||
0:24 Constant:
|
||||
0:24 1512 (const int)
|
||||
0:32 Sequence
|
||||
0:32 move second child to first child (4-component vector of float)
|
||||
0:32 'p' (4-component vector of float)
|
||||
0:32 move second child to first child (temp 4-component vector of float)
|
||||
0:32 'p' (temp 4-component vector of float)
|
||||
0:32 gl_Position: direct index for structure (in 4-component vector of float)
|
||||
0:32 direct index (block{in 4-component vector of float gl_Position, in float gl_PointSize, in implicitly-sized array of float gl_ClipDistance})
|
||||
0:32 direct index (temp block{in 4-component vector of float gl_Position, in float gl_PointSize, in implicitly-sized array of float gl_ClipDistance})
|
||||
0:32 'gl_in' (in 32-element array of block{in 4-component vector of float gl_Position, in float gl_PointSize, in implicitly-sized array of float gl_ClipDistance})
|
||||
0:32 Constant:
|
||||
0:32 1 (const int)
|
||||
0:32 Constant:
|
||||
0:32 0 (const int)
|
||||
0:33 Sequence
|
||||
0:33 move second child to first child (float)
|
||||
0:33 'ps' (float)
|
||||
0:33 move second child to first child (temp float)
|
||||
0:33 'ps' (temp float)
|
||||
0:33 gl_PointSize: direct index for structure (in float)
|
||||
0:33 direct index (block{in 4-component vector of float gl_Position, in float gl_PointSize, in implicitly-sized array of float gl_ClipDistance})
|
||||
0:33 direct index (temp block{in 4-component vector of float gl_Position, in float gl_PointSize, in implicitly-sized array of float gl_ClipDistance})
|
||||
0:33 'gl_in' (in 32-element array of block{in 4-component vector of float gl_Position, in float gl_PointSize, in implicitly-sized array of float gl_ClipDistance})
|
||||
0:33 Constant:
|
||||
0:33 1 (const int)
|
||||
0:33 Constant:
|
||||
0:33 1 (const int)
|
||||
0:34 Sequence
|
||||
0:34 move second child to first child (float)
|
||||
0:34 'cd' (float)
|
||||
0:34 direct index (float)
|
||||
0:34 move second child to first child (temp float)
|
||||
0:34 'cd' (temp float)
|
||||
0:34 direct index (temp float)
|
||||
0:34 gl_ClipDistance: direct index for structure (in implicitly-sized array of float)
|
||||
0:34 direct index (block{in 4-component vector of float gl_Position, in float gl_PointSize, in implicitly-sized array of float gl_ClipDistance})
|
||||
0:34 direct index (temp block{in 4-component vector of float gl_Position, in float gl_PointSize, in implicitly-sized array of float gl_ClipDistance})
|
||||
0:34 'gl_in' (in 32-element array of block{in 4-component vector of float gl_Position, in float gl_PointSize, in implicitly-sized array of float gl_ClipDistance})
|
||||
0:34 Constant:
|
||||
0:34 1 (const int)
|
||||
@@ -84,52 +84,52 @@ ERROR: node is still EOpNull!
|
||||
0:34 Constant:
|
||||
0:34 2 (const int)
|
||||
0:36 Sequence
|
||||
0:36 move second child to first child (int)
|
||||
0:36 'pvi' (int)
|
||||
0:36 move second child to first child (temp int)
|
||||
0:36 'pvi' (temp int)
|
||||
0:36 'gl_PatchVerticesIn' (in int)
|
||||
0:37 Sequence
|
||||
0:37 move second child to first child (int)
|
||||
0:37 'pid' (int)
|
||||
0:37 move second child to first child (temp int)
|
||||
0:37 'pid' (temp int)
|
||||
0:37 'gl_PrimitiveID' (in int)
|
||||
0:38 Sequence
|
||||
0:38 move second child to first child (3-component vector of float)
|
||||
0:38 'tc' (3-component vector of float)
|
||||
0:38 move second child to first child (temp 3-component vector of float)
|
||||
0:38 'tc' (temp 3-component vector of float)
|
||||
0:38 'gl_TessCoord' (in 3-component vector of float)
|
||||
0:39 Sequence
|
||||
0:39 move second child to first child (float)
|
||||
0:39 'tlo' (float)
|
||||
0:39 direct index (patch float)
|
||||
0:39 move second child to first child (temp float)
|
||||
0:39 'tlo' (temp float)
|
||||
0:39 direct index (patch temp float)
|
||||
0:39 'gl_TessLevelOuter' (patch in 4-element array of float)
|
||||
0:39 Constant:
|
||||
0:39 3 (const int)
|
||||
0:40 Sequence
|
||||
0:40 move second child to first child (float)
|
||||
0:40 'tli' (float)
|
||||
0:40 direct index (patch float)
|
||||
0:40 move second child to first child (temp float)
|
||||
0:40 'tli' (temp float)
|
||||
0:40 direct index (patch temp float)
|
||||
0:40 'gl_TessLevelInner' (patch in 2-element array of float)
|
||||
0:40 Constant:
|
||||
0:40 1 (const int)
|
||||
0:42 move second child to first child (4-component vector of float)
|
||||
0:42 move second child to first child (temp 4-component vector of float)
|
||||
0:42 gl_Position: direct index for structure (gl_Position 4-component vector of float)
|
||||
0:42 'anon@0' (out block{gl_Position 4-component vector of float gl_Position, gl_PointSize float gl_PointSize, out implicitly-sized array of float gl_ClipDistance})
|
||||
0:42 Constant:
|
||||
0:42 0 (const uint)
|
||||
0:42 'p' (4-component vector of float)
|
||||
0:43 move second child to first child (float)
|
||||
0:42 'p' (temp 4-component vector of float)
|
||||
0:43 move second child to first child (temp float)
|
||||
0:43 gl_PointSize: direct index for structure (gl_PointSize float)
|
||||
0:43 'anon@0' (out block{gl_Position 4-component vector of float gl_Position, gl_PointSize float gl_PointSize, out implicitly-sized array of float gl_ClipDistance})
|
||||
0:43 Constant:
|
||||
0:43 1 (const uint)
|
||||
0:43 'ps' (float)
|
||||
0:44 move second child to first child (float)
|
||||
0:44 direct index (float)
|
||||
0:43 'ps' (temp float)
|
||||
0:44 move second child to first child (temp float)
|
||||
0:44 direct index (temp float)
|
||||
0:44 gl_ClipDistance: direct index for structure (out implicitly-sized array of float)
|
||||
0:44 'anon@0' (out block{gl_Position 4-component vector of float gl_Position, gl_PointSize float gl_PointSize, out implicitly-sized array of float gl_ClipDistance})
|
||||
0:44 Constant:
|
||||
0:44 2 (const uint)
|
||||
0:44 Constant:
|
||||
0:44 2 (const int)
|
||||
0:44 'cd' (float)
|
||||
0:44 'cd' (temp float)
|
||||
0:? Linker Objects
|
||||
0:? 'patchIn' (patch in 4-component vector of float)
|
||||
0:? 'patchOut' (patch out 4-component vector of float)
|
||||
@@ -165,42 +165,42 @@ vertex spacing = fractional_odd_spacing
|
||||
triangle order = cw
|
||||
using point mode
|
||||
ERROR: node is still EOpNull!
|
||||
0:20 Function Definition: main( (void)
|
||||
0:20 Function Definition: main( (global void)
|
||||
0:20 Function Parameters:
|
||||
0:22 Sequence
|
||||
0:22 Constant:
|
||||
0:22 0.000000
|
||||
0:24 Sequence
|
||||
0:24 move second child to first child (int)
|
||||
0:24 'a' (int)
|
||||
0:24 move second child to first child (temp int)
|
||||
0:24 'a' (temp int)
|
||||
0:24 Constant:
|
||||
0:24 1512 (const int)
|
||||
0:32 Sequence
|
||||
0:32 move second child to first child (4-component vector of float)
|
||||
0:32 'p' (4-component vector of float)
|
||||
0:32 move second child to first child (temp 4-component vector of float)
|
||||
0:32 'p' (temp 4-component vector of float)
|
||||
0:32 gl_Position: direct index for structure (in 4-component vector of float)
|
||||
0:32 direct index (block{in 4-component vector of float gl_Position, in float gl_PointSize, in 1-element array of float gl_ClipDistance})
|
||||
0:32 direct index (temp block{in 4-component vector of float gl_Position, in float gl_PointSize, in 1-element array of float gl_ClipDistance})
|
||||
0:32 'gl_in' (in 32-element array of block{in 4-component vector of float gl_Position, in float gl_PointSize, in 1-element array of float gl_ClipDistance})
|
||||
0:32 Constant:
|
||||
0:32 1 (const int)
|
||||
0:32 Constant:
|
||||
0:32 0 (const int)
|
||||
0:33 Sequence
|
||||
0:33 move second child to first child (float)
|
||||
0:33 'ps' (float)
|
||||
0:33 move second child to first child (temp float)
|
||||
0:33 'ps' (temp float)
|
||||
0:33 gl_PointSize: direct index for structure (in float)
|
||||
0:33 direct index (block{in 4-component vector of float gl_Position, in float gl_PointSize, in 1-element array of float gl_ClipDistance})
|
||||
0:33 direct index (temp block{in 4-component vector of float gl_Position, in float gl_PointSize, in 1-element array of float gl_ClipDistance})
|
||||
0:33 'gl_in' (in 32-element array of block{in 4-component vector of float gl_Position, in float gl_PointSize, in 1-element array of float gl_ClipDistance})
|
||||
0:33 Constant:
|
||||
0:33 1 (const int)
|
||||
0:33 Constant:
|
||||
0:33 1 (const int)
|
||||
0:34 Sequence
|
||||
0:34 move second child to first child (float)
|
||||
0:34 'cd' (float)
|
||||
0:34 direct index (float)
|
||||
0:34 move second child to first child (temp float)
|
||||
0:34 'cd' (temp float)
|
||||
0:34 direct index (temp float)
|
||||
0:34 gl_ClipDistance: direct index for structure (in 1-element array of float)
|
||||
0:34 direct index (block{in 4-component vector of float gl_Position, in float gl_PointSize, in 1-element array of float gl_ClipDistance})
|
||||
0:34 direct index (temp block{in 4-component vector of float gl_Position, in float gl_PointSize, in 1-element array of float gl_ClipDistance})
|
||||
0:34 'gl_in' (in 32-element array of block{in 4-component vector of float gl_Position, in float gl_PointSize, in 1-element array of float gl_ClipDistance})
|
||||
0:34 Constant:
|
||||
0:34 1 (const int)
|
||||
@@ -209,52 +209,52 @@ ERROR: node is still EOpNull!
|
||||
0:34 Constant:
|
||||
0:34 2 (const int)
|
||||
0:36 Sequence
|
||||
0:36 move second child to first child (int)
|
||||
0:36 'pvi' (int)
|
||||
0:36 move second child to first child (temp int)
|
||||
0:36 'pvi' (temp int)
|
||||
0:36 'gl_PatchVerticesIn' (in int)
|
||||
0:37 Sequence
|
||||
0:37 move second child to first child (int)
|
||||
0:37 'pid' (int)
|
||||
0:37 move second child to first child (temp int)
|
||||
0:37 'pid' (temp int)
|
||||
0:37 'gl_PrimitiveID' (in int)
|
||||
0:38 Sequence
|
||||
0:38 move second child to first child (3-component vector of float)
|
||||
0:38 'tc' (3-component vector of float)
|
||||
0:38 move second child to first child (temp 3-component vector of float)
|
||||
0:38 'tc' (temp 3-component vector of float)
|
||||
0:38 'gl_TessCoord' (in 3-component vector of float)
|
||||
0:39 Sequence
|
||||
0:39 move second child to first child (float)
|
||||
0:39 'tlo' (float)
|
||||
0:39 direct index (patch float)
|
||||
0:39 move second child to first child (temp float)
|
||||
0:39 'tlo' (temp float)
|
||||
0:39 direct index (patch temp float)
|
||||
0:39 'gl_TessLevelOuter' (patch in 4-element array of float)
|
||||
0:39 Constant:
|
||||
0:39 3 (const int)
|
||||
0:40 Sequence
|
||||
0:40 move second child to first child (float)
|
||||
0:40 'tli' (float)
|
||||
0:40 direct index (patch float)
|
||||
0:40 move second child to first child (temp float)
|
||||
0:40 'tli' (temp float)
|
||||
0:40 direct index (patch temp float)
|
||||
0:40 'gl_TessLevelInner' (patch in 2-element array of float)
|
||||
0:40 Constant:
|
||||
0:40 1 (const int)
|
||||
0:42 move second child to first child (4-component vector of float)
|
||||
0:42 move second child to first child (temp 4-component vector of float)
|
||||
0:42 gl_Position: direct index for structure (gl_Position 4-component vector of float)
|
||||
0:42 'anon@0' (out block{gl_Position 4-component vector of float gl_Position, gl_PointSize float gl_PointSize, out 3-element array of float gl_ClipDistance})
|
||||
0:42 Constant:
|
||||
0:42 0 (const uint)
|
||||
0:42 'p' (4-component vector of float)
|
||||
0:43 move second child to first child (float)
|
||||
0:42 'p' (temp 4-component vector of float)
|
||||
0:43 move second child to first child (temp float)
|
||||
0:43 gl_PointSize: direct index for structure (gl_PointSize float)
|
||||
0:43 'anon@0' (out block{gl_Position 4-component vector of float gl_Position, gl_PointSize float gl_PointSize, out 3-element array of float gl_ClipDistance})
|
||||
0:43 Constant:
|
||||
0:43 1 (const uint)
|
||||
0:43 'ps' (float)
|
||||
0:44 move second child to first child (float)
|
||||
0:44 direct index (float)
|
||||
0:43 'ps' (temp float)
|
||||
0:44 move second child to first child (temp float)
|
||||
0:44 direct index (temp float)
|
||||
0:44 gl_ClipDistance: direct index for structure (out 3-element array of float)
|
||||
0:44 'anon@0' (out block{gl_Position 4-component vector of float gl_Position, gl_PointSize float gl_PointSize, out 3-element array of float gl_ClipDistance})
|
||||
0:44 Constant:
|
||||
0:44 2 (const uint)
|
||||
0:44 Constant:
|
||||
0:44 2 (const int)
|
||||
0:44 'cd' (float)
|
||||
0:44 'cd' (temp float)
|
||||
0:? Linker Objects
|
||||
0:? 'patchIn' (patch in 4-component vector of float)
|
||||
0:? 'patchOut' (patch out 4-component vector of float)
|
||||
|
||||
Reference in New Issue
Block a user