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:
@@ -10,84 +10,84 @@ Shader version: 150
|
||||
gl_FragCoord pixel center is integer
|
||||
gl_FragCoord origin is upper left
|
||||
ERROR: node is still EOpNull!
|
||||
0:9 Function Definition: main( (void)
|
||||
0:9 Function Definition: main( (global void)
|
||||
0:9 Function Parameters:
|
||||
0:11 Sequence
|
||||
0:11 Sequence
|
||||
0:11 move second child to first child (4-component vector of float)
|
||||
0:11 'c' (4-component vector of float)
|
||||
0:11 move second child to first child (temp 4-component vector of float)
|
||||
0:11 'c' (temp 4-component vector of float)
|
||||
0:11 'gl_FragCoord' (gl_FragCoord 4-component vector of float)
|
||||
0:18 Sequence
|
||||
0:18 move second child to first child (float)
|
||||
0:18 'patch' (float)
|
||||
0:18 move second child to first child (temp float)
|
||||
0:18 'patch' (global float)
|
||||
0:18 Constant:
|
||||
0:18 3.100000
|
||||
0:31 Function Definition: barWxyz( (void)
|
||||
0:31 Function Definition: barWxyz( (global void)
|
||||
0:31 Function Parameters:
|
||||
0:33 Sequence
|
||||
0:33 Sequence
|
||||
0:33 move second child to first child (2-component vector of int)
|
||||
0:33 't11' (2-component vector of int)
|
||||
0:33 Function Call: textureSize(s21; (2-component vector of int)
|
||||
0:33 move second child to first child (temp 2-component vector of int)
|
||||
0:33 't11' (temp 2-component vector of int)
|
||||
0:33 Function Call: textureSize(s21; (global 2-component vector of int)
|
||||
0:33 'sms' (uniform sampler2DMS)
|
||||
0:34 Sequence
|
||||
0:34 move second child to first child (2-component vector of int)
|
||||
0:34 't12' (2-component vector of int)
|
||||
0:34 Function Call: textureSize(is21; (2-component vector of int)
|
||||
0:34 move second child to first child (temp 2-component vector of int)
|
||||
0:34 't12' (temp 2-component vector of int)
|
||||
0:34 Function Call: textureSize(is21; (global 2-component vector of int)
|
||||
0:34 'isms' (uniform isampler2DMS)
|
||||
0:35 Sequence
|
||||
0:35 move second child to first child (2-component vector of int)
|
||||
0:35 't13' (2-component vector of int)
|
||||
0:35 Function Call: textureSize(us21; (2-component vector of int)
|
||||
0:35 move second child to first child (temp 2-component vector of int)
|
||||
0:35 't13' (temp 2-component vector of int)
|
||||
0:35 Function Call: textureSize(us21; (global 2-component vector of int)
|
||||
0:35 'usms' (uniform usampler2DMS)
|
||||
0:36 Sequence
|
||||
0:36 move second child to first child (3-component vector of int)
|
||||
0:36 't21' (3-component vector of int)
|
||||
0:36 Function Call: textureSize(sA21; (3-component vector of int)
|
||||
0:36 move second child to first child (temp 3-component vector of int)
|
||||
0:36 't21' (temp 3-component vector of int)
|
||||
0:36 Function Call: textureSize(sA21; (global 3-component vector of int)
|
||||
0:36 'smsa' (uniform sampler2DMSArray)
|
||||
0:37 Sequence
|
||||
0:37 move second child to first child (3-component vector of int)
|
||||
0:37 't22' (3-component vector of int)
|
||||
0:37 Function Call: textureSize(isA21; (3-component vector of int)
|
||||
0:37 move second child to first child (temp 3-component vector of int)
|
||||
0:37 't22' (temp 3-component vector of int)
|
||||
0:37 Function Call: textureSize(isA21; (global 3-component vector of int)
|
||||
0:37 'ismsa' (uniform isampler2DMSArray)
|
||||
0:38 Sequence
|
||||
0:38 move second child to first child (3-component vector of int)
|
||||
0:38 't23' (3-component vector of int)
|
||||
0:38 Function Call: textureSize(usA21; (3-component vector of int)
|
||||
0:38 move second child to first child (temp 3-component vector of int)
|
||||
0:38 't23' (temp 3-component vector of int)
|
||||
0:38 Function Call: textureSize(usA21; (global 3-component vector of int)
|
||||
0:38 'usmsa' (uniform usampler2DMSArray)
|
||||
0:39 Sequence
|
||||
0:39 move second child to first child (4-component vector of float)
|
||||
0:39 't31' (4-component vector of float)
|
||||
0:39 Function Call: texelFetch(s21;vi2;i1; (4-component vector of float)
|
||||
0:39 move second child to first child (temp 4-component vector of float)
|
||||
0:39 't31' (temp 4-component vector of float)
|
||||
0:39 Function Call: texelFetch(s21;vi2;i1; (global 4-component vector of float)
|
||||
0:39 'sms' (uniform sampler2DMS)
|
||||
0:39 'p2' (flat in 2-component vector of int)
|
||||
0:39 'samp' (flat in int)
|
||||
0:40 Sequence
|
||||
0:40 move second child to first child (4-component vector of int)
|
||||
0:40 't32' (4-component vector of int)
|
||||
0:40 Function Call: texelFetch(is21;vi2;i1; (4-component vector of int)
|
||||
0:40 move second child to first child (temp 4-component vector of int)
|
||||
0:40 't32' (temp 4-component vector of int)
|
||||
0:40 Function Call: texelFetch(is21;vi2;i1; (global 4-component vector of int)
|
||||
0:40 'isms' (uniform isampler2DMS)
|
||||
0:40 'p2' (flat in 2-component vector of int)
|
||||
0:40 'samp' (flat in int)
|
||||
0:41 Sequence
|
||||
0:41 move second child to first child (4-component vector of uint)
|
||||
0:41 't33' (4-component vector of uint)
|
||||
0:41 Function Call: texelFetch(us21;vi2;i1; (4-component vector of uint)
|
||||
0:41 move second child to first child (temp 4-component vector of uint)
|
||||
0:41 't33' (temp 4-component vector of uint)
|
||||
0:41 Function Call: texelFetch(us21;vi2;i1; (global 4-component vector of uint)
|
||||
0:41 'usms' (uniform usampler2DMS)
|
||||
0:41 'p2' (flat in 2-component vector of int)
|
||||
0:41 Constant:
|
||||
0:41 3 (const int)
|
||||
0:42 Sequence
|
||||
0:42 move second child to first child (4-component vector of float)
|
||||
0:42 't41' (4-component vector of float)
|
||||
0:42 Function Call: texelFetch(sA21;vi3;i1; (4-component vector of float)
|
||||
0:42 move second child to first child (temp 4-component vector of float)
|
||||
0:42 't41' (temp 4-component vector of float)
|
||||
0:42 Function Call: texelFetch(sA21;vi3;i1; (global 4-component vector of float)
|
||||
0:42 'smsa' (uniform sampler2DMSArray)
|
||||
0:42 'p3' (flat in 3-component vector of int)
|
||||
0:42 'samp' (flat in int)
|
||||
0:43 Sequence
|
||||
0:43 move second child to first child (4-component vector of int)
|
||||
0:43 't42' (4-component vector of int)
|
||||
0:43 Function Call: texelFetch(isA21;vi3;i1; (4-component vector of int)
|
||||
0:43 move second child to first child (temp 4-component vector of int)
|
||||
0:43 't42' (temp 4-component vector of int)
|
||||
0:43 Function Call: texelFetch(isA21;vi3;i1; (global 4-component vector of int)
|
||||
0:43 'ismsa' (uniform isampler2DMSArray)
|
||||
0:43 Constant:
|
||||
0:43 2 (const int)
|
||||
@@ -95,9 +95,9 @@ ERROR: node is still EOpNull!
|
||||
0:43 2 (const int)
|
||||
0:43 'samp' (flat in int)
|
||||
0:44 Sequence
|
||||
0:44 move second child to first child (4-component vector of uint)
|
||||
0:44 't43' (4-component vector of uint)
|
||||
0:44 Function Call: texelFetch(usA21;vi3;i1; (4-component vector of uint)
|
||||
0:44 move second child to first child (temp 4-component vector of uint)
|
||||
0:44 't43' (temp 4-component vector of uint)
|
||||
0:44 Function Call: texelFetch(usA21;vi3;i1; (global 4-component vector of uint)
|
||||
0:44 'usmsa' (uniform usampler2DMSArray)
|
||||
0:44 'p3' (flat in 3-component vector of int)
|
||||
0:44 'samp' (flat in int)
|
||||
@@ -105,8 +105,8 @@ ERROR: node is still EOpNull!
|
||||
0:? 'gl_FragCoord' (gl_FragCoord 4-component vector of float)
|
||||
0:? 'gl_FragCoord' (gl_FragCoord 4-component vector of float)
|
||||
0:? 'foo' (smooth in 4-component vector of float)
|
||||
0:? 's' (smooth in structure{float f})
|
||||
0:? 'patch' (float)
|
||||
0:? 's' (smooth in structure{global float f})
|
||||
0:? 'patch' (global float)
|
||||
0:? 'sms' (uniform sampler2DMS)
|
||||
0:? 'isms' (uniform isampler2DMS)
|
||||
0:? 'usms' (uniform usampler2DMS)
|
||||
@@ -125,84 +125,84 @@ Shader version: 150
|
||||
gl_FragCoord pixel center is integer
|
||||
gl_FragCoord origin is upper left
|
||||
ERROR: node is still EOpNull!
|
||||
0:9 Function Definition: main( (void)
|
||||
0:9 Function Definition: main( (global void)
|
||||
0:9 Function Parameters:
|
||||
0:11 Sequence
|
||||
0:11 Sequence
|
||||
0:11 move second child to first child (4-component vector of float)
|
||||
0:11 'c' (4-component vector of float)
|
||||
0:11 move second child to first child (temp 4-component vector of float)
|
||||
0:11 'c' (temp 4-component vector of float)
|
||||
0:11 'gl_FragCoord' (gl_FragCoord 4-component vector of float)
|
||||
0:18 Sequence
|
||||
0:18 move second child to first child (float)
|
||||
0:18 'patch' (float)
|
||||
0:18 move second child to first child (temp float)
|
||||
0:18 'patch' (global float)
|
||||
0:18 Constant:
|
||||
0:18 3.100000
|
||||
0:31 Function Definition: barWxyz( (void)
|
||||
0:31 Function Definition: barWxyz( (global void)
|
||||
0:31 Function Parameters:
|
||||
0:33 Sequence
|
||||
0:33 Sequence
|
||||
0:33 move second child to first child (2-component vector of int)
|
||||
0:33 't11' (2-component vector of int)
|
||||
0:33 Function Call: textureSize(s21; (2-component vector of int)
|
||||
0:33 move second child to first child (temp 2-component vector of int)
|
||||
0:33 't11' (temp 2-component vector of int)
|
||||
0:33 Function Call: textureSize(s21; (global 2-component vector of int)
|
||||
0:33 'sms' (uniform sampler2DMS)
|
||||
0:34 Sequence
|
||||
0:34 move second child to first child (2-component vector of int)
|
||||
0:34 't12' (2-component vector of int)
|
||||
0:34 Function Call: textureSize(is21; (2-component vector of int)
|
||||
0:34 move second child to first child (temp 2-component vector of int)
|
||||
0:34 't12' (temp 2-component vector of int)
|
||||
0:34 Function Call: textureSize(is21; (global 2-component vector of int)
|
||||
0:34 'isms' (uniform isampler2DMS)
|
||||
0:35 Sequence
|
||||
0:35 move second child to first child (2-component vector of int)
|
||||
0:35 't13' (2-component vector of int)
|
||||
0:35 Function Call: textureSize(us21; (2-component vector of int)
|
||||
0:35 move second child to first child (temp 2-component vector of int)
|
||||
0:35 't13' (temp 2-component vector of int)
|
||||
0:35 Function Call: textureSize(us21; (global 2-component vector of int)
|
||||
0:35 'usms' (uniform usampler2DMS)
|
||||
0:36 Sequence
|
||||
0:36 move second child to first child (3-component vector of int)
|
||||
0:36 't21' (3-component vector of int)
|
||||
0:36 Function Call: textureSize(sA21; (3-component vector of int)
|
||||
0:36 move second child to first child (temp 3-component vector of int)
|
||||
0:36 't21' (temp 3-component vector of int)
|
||||
0:36 Function Call: textureSize(sA21; (global 3-component vector of int)
|
||||
0:36 'smsa' (uniform sampler2DMSArray)
|
||||
0:37 Sequence
|
||||
0:37 move second child to first child (3-component vector of int)
|
||||
0:37 't22' (3-component vector of int)
|
||||
0:37 Function Call: textureSize(isA21; (3-component vector of int)
|
||||
0:37 move second child to first child (temp 3-component vector of int)
|
||||
0:37 't22' (temp 3-component vector of int)
|
||||
0:37 Function Call: textureSize(isA21; (global 3-component vector of int)
|
||||
0:37 'ismsa' (uniform isampler2DMSArray)
|
||||
0:38 Sequence
|
||||
0:38 move second child to first child (3-component vector of int)
|
||||
0:38 't23' (3-component vector of int)
|
||||
0:38 Function Call: textureSize(usA21; (3-component vector of int)
|
||||
0:38 move second child to first child (temp 3-component vector of int)
|
||||
0:38 't23' (temp 3-component vector of int)
|
||||
0:38 Function Call: textureSize(usA21; (global 3-component vector of int)
|
||||
0:38 'usmsa' (uniform usampler2DMSArray)
|
||||
0:39 Sequence
|
||||
0:39 move second child to first child (4-component vector of float)
|
||||
0:39 't31' (4-component vector of float)
|
||||
0:39 Function Call: texelFetch(s21;vi2;i1; (4-component vector of float)
|
||||
0:39 move second child to first child (temp 4-component vector of float)
|
||||
0:39 't31' (temp 4-component vector of float)
|
||||
0:39 Function Call: texelFetch(s21;vi2;i1; (global 4-component vector of float)
|
||||
0:39 'sms' (uniform sampler2DMS)
|
||||
0:39 'p2' (flat in 2-component vector of int)
|
||||
0:39 'samp' (flat in int)
|
||||
0:40 Sequence
|
||||
0:40 move second child to first child (4-component vector of int)
|
||||
0:40 't32' (4-component vector of int)
|
||||
0:40 Function Call: texelFetch(is21;vi2;i1; (4-component vector of int)
|
||||
0:40 move second child to first child (temp 4-component vector of int)
|
||||
0:40 't32' (temp 4-component vector of int)
|
||||
0:40 Function Call: texelFetch(is21;vi2;i1; (global 4-component vector of int)
|
||||
0:40 'isms' (uniform isampler2DMS)
|
||||
0:40 'p2' (flat in 2-component vector of int)
|
||||
0:40 'samp' (flat in int)
|
||||
0:41 Sequence
|
||||
0:41 move second child to first child (4-component vector of uint)
|
||||
0:41 't33' (4-component vector of uint)
|
||||
0:41 Function Call: texelFetch(us21;vi2;i1; (4-component vector of uint)
|
||||
0:41 move second child to first child (temp 4-component vector of uint)
|
||||
0:41 't33' (temp 4-component vector of uint)
|
||||
0:41 Function Call: texelFetch(us21;vi2;i1; (global 4-component vector of uint)
|
||||
0:41 'usms' (uniform usampler2DMS)
|
||||
0:41 'p2' (flat in 2-component vector of int)
|
||||
0:41 Constant:
|
||||
0:41 3 (const int)
|
||||
0:42 Sequence
|
||||
0:42 move second child to first child (4-component vector of float)
|
||||
0:42 't41' (4-component vector of float)
|
||||
0:42 Function Call: texelFetch(sA21;vi3;i1; (4-component vector of float)
|
||||
0:42 move second child to first child (temp 4-component vector of float)
|
||||
0:42 't41' (temp 4-component vector of float)
|
||||
0:42 Function Call: texelFetch(sA21;vi3;i1; (global 4-component vector of float)
|
||||
0:42 'smsa' (uniform sampler2DMSArray)
|
||||
0:42 'p3' (flat in 3-component vector of int)
|
||||
0:42 'samp' (flat in int)
|
||||
0:43 Sequence
|
||||
0:43 move second child to first child (4-component vector of int)
|
||||
0:43 't42' (4-component vector of int)
|
||||
0:43 Function Call: texelFetch(isA21;vi3;i1; (4-component vector of int)
|
||||
0:43 move second child to first child (temp 4-component vector of int)
|
||||
0:43 't42' (temp 4-component vector of int)
|
||||
0:43 Function Call: texelFetch(isA21;vi3;i1; (global 4-component vector of int)
|
||||
0:43 'ismsa' (uniform isampler2DMSArray)
|
||||
0:43 Constant:
|
||||
0:43 2 (const int)
|
||||
@@ -210,9 +210,9 @@ ERROR: node is still EOpNull!
|
||||
0:43 2 (const int)
|
||||
0:43 'samp' (flat in int)
|
||||
0:44 Sequence
|
||||
0:44 move second child to first child (4-component vector of uint)
|
||||
0:44 't43' (4-component vector of uint)
|
||||
0:44 Function Call: texelFetch(usA21;vi3;i1; (4-component vector of uint)
|
||||
0:44 move second child to first child (temp 4-component vector of uint)
|
||||
0:44 't43' (temp 4-component vector of uint)
|
||||
0:44 Function Call: texelFetch(usA21;vi3;i1; (global 4-component vector of uint)
|
||||
0:44 'usmsa' (uniform usampler2DMSArray)
|
||||
0:44 'p3' (flat in 3-component vector of int)
|
||||
0:44 'samp' (flat in int)
|
||||
@@ -220,8 +220,8 @@ ERROR: node is still EOpNull!
|
||||
0:? 'gl_FragCoord' (gl_FragCoord 4-component vector of float)
|
||||
0:? 'gl_FragCoord' (gl_FragCoord 4-component vector of float)
|
||||
0:? 'foo' (smooth in 4-component vector of float)
|
||||
0:? 's' (smooth in structure{float f})
|
||||
0:? 'patch' (float)
|
||||
0:? 's' (smooth in structure{global float f})
|
||||
0:? 'patch' (global float)
|
||||
0:? 'sms' (uniform sampler2DMS)
|
||||
0:? 'isms' (uniform isampler2DMS)
|
||||
0:? 'usms' (uniform usampler2DMS)
|
||||
|
||||
Reference in New Issue
Block a user