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:
@@ -3,128 +3,128 @@ Warning, version 450 is not yet complete; most version-specific features are pre
|
||||
|
||||
Shader version: 450
|
||||
0:? Sequence
|
||||
0:8 Function Definition: main( (void)
|
||||
0:8 Function Definition: main( (global void)
|
||||
0:8 Function Parameters:
|
||||
0:10 Sequence
|
||||
0:10 Sequence
|
||||
0:10 move second child to first child (2-component vector of float)
|
||||
0:10 'v2' (2-component vector of float)
|
||||
0:10 dPdxFine (2-component vector of float)
|
||||
0:10 move second child to first child (temp 2-component vector of float)
|
||||
0:10 'v2' (temp 2-component vector of float)
|
||||
0:10 dPdxFine (global 2-component vector of float)
|
||||
0:10 'in2' (smooth in 2-component vector of float)
|
||||
0:11 Sequence
|
||||
0:11 move second child to first child (3-component vector of float)
|
||||
0:11 'v3' (3-component vector of float)
|
||||
0:11 dPdyCoarse (3-component vector of float)
|
||||
0:11 move second child to first child (temp 3-component vector of float)
|
||||
0:11 'v3' (temp 3-component vector of float)
|
||||
0:11 dPdyCoarse (global 3-component vector of float)
|
||||
0:11 'in3' (smooth in 3-component vector of float)
|
||||
0:12 Sequence
|
||||
0:12 move second child to first child (4-component vector of float)
|
||||
0:12 'v4' (4-component vector of float)
|
||||
0:12 fwidth (4-component vector of float)
|
||||
0:12 move second child to first child (temp 4-component vector of float)
|
||||
0:12 'v4' (temp 4-component vector of float)
|
||||
0:12 fwidth (global 4-component vector of float)
|
||||
0:12 'in4' (smooth in 4-component vector of float)
|
||||
0:13 move second child to first child (4-component vector of float)
|
||||
0:13 'v4' (4-component vector of float)
|
||||
0:13 dPdyFine (4-component vector of float)
|
||||
0:13 move second child to first child (temp 4-component vector of float)
|
||||
0:13 'v4' (temp 4-component vector of float)
|
||||
0:13 dPdyFine (global 4-component vector of float)
|
||||
0:13 'in4' (smooth in 4-component vector of float)
|
||||
0:14 move second child to first child (3-component vector of float)
|
||||
0:14 'v3' (3-component vector of float)
|
||||
0:14 dPdyFine (3-component vector of float)
|
||||
0:14 move second child to first child (temp 3-component vector of float)
|
||||
0:14 'v3' (temp 3-component vector of float)
|
||||
0:14 dPdyFine (global 3-component vector of float)
|
||||
0:14 'in3' (smooth in 3-component vector of float)
|
||||
0:15 Sequence
|
||||
0:15 move second child to first child (float)
|
||||
0:15 'f' (float)
|
||||
0:15 add (float)
|
||||
0:15 add (float)
|
||||
0:15 dPdx (float)
|
||||
0:15 move second child to first child (temp float)
|
||||
0:15 'f' (temp float)
|
||||
0:15 add (temp float)
|
||||
0:15 add (temp float)
|
||||
0:15 dPdx (global float)
|
||||
0:15 'in1' (smooth in float)
|
||||
0:15 dPdxFine (float)
|
||||
0:15 dPdxFine (global float)
|
||||
0:15 'in1' (smooth in float)
|
||||
0:15 dPdxCoarse (float)
|
||||
0:15 dPdxCoarse (global float)
|
||||
0:15 'in1' (smooth in float)
|
||||
0:16 move second child to first child (4-component vector of float)
|
||||
0:16 'v4' (4-component vector of float)
|
||||
0:16 add (4-component vector of float)
|
||||
0:16 fwidthCoarse (4-component vector of float)
|
||||
0:16 move second child to first child (temp 4-component vector of float)
|
||||
0:16 'v4' (temp 4-component vector of float)
|
||||
0:16 add (temp 4-component vector of float)
|
||||
0:16 fwidthCoarse (global 4-component vector of float)
|
||||
0:16 'in4' (smooth in 4-component vector of float)
|
||||
0:16 fwidthFine (4-component vector of float)
|
||||
0:16 fwidthFine (global 4-component vector of float)
|
||||
0:16 'in4' (smooth in 4-component vector of float)
|
||||
0:18 Sequence
|
||||
0:18 move second child to first child (float)
|
||||
0:18 'cull' (float)
|
||||
0:18 direct index (smooth float)
|
||||
0:18 move second child to first child (temp float)
|
||||
0:18 'cull' (temp float)
|
||||
0:18 direct index (smooth temp float)
|
||||
0:18 'gl_CullDistance' (smooth in implicitly-sized array of float)
|
||||
0:18 Constant:
|
||||
0:18 2 (const int)
|
||||
0:19 Sequence
|
||||
0:19 move second child to first child (float)
|
||||
0:19 'consts' (float)
|
||||
0:19 move second child to first child (temp float)
|
||||
0:19 'consts' (temp float)
|
||||
0:19 Constant:
|
||||
0:19 20.000000
|
||||
0:21 Test condition and select (void)
|
||||
0:21 Test condition and select (temp void)
|
||||
0:21 Condition
|
||||
0:21 'gl_HelperInvocation' (in bool)
|
||||
0:21 true case
|
||||
0:22 Pre-Increment (4-component vector of float)
|
||||
0:22 'v4' (4-component vector of float)
|
||||
0:22 Pre-Increment (temp 4-component vector of float)
|
||||
0:22 'v4' (temp 4-component vector of float)
|
||||
0:24 Sequence
|
||||
0:24 move second child to first child (int)
|
||||
0:24 'sum' (int)
|
||||
0:24 move second child to first child (temp int)
|
||||
0:24 'sum' (temp int)
|
||||
0:24 Constant:
|
||||
0:24 32 (const int)
|
||||
0:32 Sequence
|
||||
0:32 move second child to first child (2-component vector of bool)
|
||||
0:32 'b2' (2-component vector of bool)
|
||||
0:32 mix (2-component vector of bool)
|
||||
0:32 Construct bvec2 (2-component vector of bool)
|
||||
0:32 'b1' (bool)
|
||||
0:32 Construct bvec2 (2-component vector of bool)
|
||||
0:32 'b3' (bool)
|
||||
0:32 Construct bvec2 (2-component vector of bool)
|
||||
0:32 'b' (bool)
|
||||
0:32 move second child to first child (temp 2-component vector of bool)
|
||||
0:32 'b2' (temp 2-component vector of bool)
|
||||
0:32 mix (global 2-component vector of bool)
|
||||
0:32 Construct bvec2 (temp 2-component vector of bool)
|
||||
0:32 'b1' (temp bool)
|
||||
0:32 Construct bvec2 (temp 2-component vector of bool)
|
||||
0:32 'b3' (temp bool)
|
||||
0:32 Construct bvec2 (temp 2-component vector of bool)
|
||||
0:32 'b' (temp bool)
|
||||
0:33 Sequence
|
||||
0:33 move second child to first child (uint)
|
||||
0:33 'um' (uint)
|
||||
0:33 mix (uint)
|
||||
0:33 'uin' (uint)
|
||||
0:33 'uin' (uint)
|
||||
0:33 'b' (bool)
|
||||
0:33 move second child to first child (temp uint)
|
||||
0:33 'um' (temp uint)
|
||||
0:33 mix (global uint)
|
||||
0:33 'uin' (temp uint)
|
||||
0:33 'uin' (temp uint)
|
||||
0:33 'b' (temp bool)
|
||||
0:34 Sequence
|
||||
0:34 move second child to first child (3-component vector of int)
|
||||
0:34 'im3' (3-component vector of int)
|
||||
0:34 mix (3-component vector of int)
|
||||
0:34 Construct ivec3 (3-component vector of int)
|
||||
0:34 Convert uint to int (int)
|
||||
0:34 'uin' (uint)
|
||||
0:34 Construct ivec3 (3-component vector of int)
|
||||
0:34 Convert uint to int (int)
|
||||
0:34 'uin' (uint)
|
||||
0:34 Construct bvec3 (3-component vector of bool)
|
||||
0:34 'b' (bool)
|
||||
0:42 Function Definition: foo( (void)
|
||||
0:34 move second child to first child (temp 3-component vector of int)
|
||||
0:34 'im3' (temp 3-component vector of int)
|
||||
0:34 mix (global 3-component vector of int)
|
||||
0:34 Construct ivec3 (temp 3-component vector of int)
|
||||
0:34 Convert uint to int (temp int)
|
||||
0:34 'uin' (temp uint)
|
||||
0:34 Construct ivec3 (temp 3-component vector of int)
|
||||
0:34 Convert uint to int (temp int)
|
||||
0:34 'uin' (temp uint)
|
||||
0:34 Construct bvec3 (temp 3-component vector of bool)
|
||||
0:34 'b' (temp bool)
|
||||
0:42 Function Definition: foo( (global void)
|
||||
0:42 Function Parameters:
|
||||
0:44 Sequence
|
||||
0:44 Sequence
|
||||
0:44 move second child to first child (int)
|
||||
0:44 's' (int)
|
||||
0:44 Function Call: textureSamples(s21; (int)
|
||||
0:44 move second child to first child (temp int)
|
||||
0:44 's' (temp int)
|
||||
0:44 Function Call: textureSamples(s21; (global int)
|
||||
0:44 's2dms' (uniform sampler2DMS)
|
||||
0:45 add second child into first child (int)
|
||||
0:45 's' (int)
|
||||
0:45 Function Call: textureSamples(usA21; (int)
|
||||
0:45 add second child into first child (temp int)
|
||||
0:45 's' (temp int)
|
||||
0:45 Function Call: textureSamples(usA21; (global int)
|
||||
0:45 'us2dmsa' (uniform usampler2DMSArray)
|
||||
0:46 add second child into first child (int)
|
||||
0:46 's' (int)
|
||||
0:46 Function Call: imageSamples(iI21; (int)
|
||||
0:46 add second child into first child (temp int)
|
||||
0:46 's' (temp int)
|
||||
0:46 Function Call: imageSamples(iI21; (global int)
|
||||
0:46 'ii2dms' (layout(rgba32i ) uniform iimage2DMS)
|
||||
0:47 add second child into first child (int)
|
||||
0:47 's' (int)
|
||||
0:47 Function Call: imageSamples(IA21; (int)
|
||||
0:47 add second child into first child (temp int)
|
||||
0:47 's' (temp int)
|
||||
0:47 Function Call: imageSamples(IA21; (global int)
|
||||
0:47 'i2dmsa' (layout(rgba32f ) uniform image2DMSArray)
|
||||
0:48 Sequence
|
||||
0:48 move second child to first child (float)
|
||||
0:48 'f' (float)
|
||||
0:48 Function Call: imageAtomicExchange(IA21;vi3;i1;f1; (float)
|
||||
0:48 move second child to first child (temp float)
|
||||
0:48 'f' (temp float)
|
||||
0:48 Function Call: imageAtomicExchange(IA21;vi3;i1;f1; (global float)
|
||||
0:48 'i2dmsa' (layout(rgba32f ) uniform image2DMSArray)
|
||||
0:48 Convert float to int (3-component vector of int)
|
||||
0:48 Convert float to int (temp 3-component vector of int)
|
||||
0:48 'in3' (smooth in 3-component vector of float)
|
||||
0:48 Constant:
|
||||
0:48 2 (const int)
|
||||
@@ -147,128 +147,128 @@ Linked fragment stage:
|
||||
|
||||
Shader version: 450
|
||||
0:? Sequence
|
||||
0:8 Function Definition: main( (void)
|
||||
0:8 Function Definition: main( (global void)
|
||||
0:8 Function Parameters:
|
||||
0:10 Sequence
|
||||
0:10 Sequence
|
||||
0:10 move second child to first child (2-component vector of float)
|
||||
0:10 'v2' (2-component vector of float)
|
||||
0:10 dPdxFine (2-component vector of float)
|
||||
0:10 move second child to first child (temp 2-component vector of float)
|
||||
0:10 'v2' (temp 2-component vector of float)
|
||||
0:10 dPdxFine (global 2-component vector of float)
|
||||
0:10 'in2' (smooth in 2-component vector of float)
|
||||
0:11 Sequence
|
||||
0:11 move second child to first child (3-component vector of float)
|
||||
0:11 'v3' (3-component vector of float)
|
||||
0:11 dPdyCoarse (3-component vector of float)
|
||||
0:11 move second child to first child (temp 3-component vector of float)
|
||||
0:11 'v3' (temp 3-component vector of float)
|
||||
0:11 dPdyCoarse (global 3-component vector of float)
|
||||
0:11 'in3' (smooth in 3-component vector of float)
|
||||
0:12 Sequence
|
||||
0:12 move second child to first child (4-component vector of float)
|
||||
0:12 'v4' (4-component vector of float)
|
||||
0:12 fwidth (4-component vector of float)
|
||||
0:12 move second child to first child (temp 4-component vector of float)
|
||||
0:12 'v4' (temp 4-component vector of float)
|
||||
0:12 fwidth (global 4-component vector of float)
|
||||
0:12 'in4' (smooth in 4-component vector of float)
|
||||
0:13 move second child to first child (4-component vector of float)
|
||||
0:13 'v4' (4-component vector of float)
|
||||
0:13 dPdyFine (4-component vector of float)
|
||||
0:13 move second child to first child (temp 4-component vector of float)
|
||||
0:13 'v4' (temp 4-component vector of float)
|
||||
0:13 dPdyFine (global 4-component vector of float)
|
||||
0:13 'in4' (smooth in 4-component vector of float)
|
||||
0:14 move second child to first child (3-component vector of float)
|
||||
0:14 'v3' (3-component vector of float)
|
||||
0:14 dPdyFine (3-component vector of float)
|
||||
0:14 move second child to first child (temp 3-component vector of float)
|
||||
0:14 'v3' (temp 3-component vector of float)
|
||||
0:14 dPdyFine (global 3-component vector of float)
|
||||
0:14 'in3' (smooth in 3-component vector of float)
|
||||
0:15 Sequence
|
||||
0:15 move second child to first child (float)
|
||||
0:15 'f' (float)
|
||||
0:15 add (float)
|
||||
0:15 add (float)
|
||||
0:15 dPdx (float)
|
||||
0:15 move second child to first child (temp float)
|
||||
0:15 'f' (temp float)
|
||||
0:15 add (temp float)
|
||||
0:15 add (temp float)
|
||||
0:15 dPdx (global float)
|
||||
0:15 'in1' (smooth in float)
|
||||
0:15 dPdxFine (float)
|
||||
0:15 dPdxFine (global float)
|
||||
0:15 'in1' (smooth in float)
|
||||
0:15 dPdxCoarse (float)
|
||||
0:15 dPdxCoarse (global float)
|
||||
0:15 'in1' (smooth in float)
|
||||
0:16 move second child to first child (4-component vector of float)
|
||||
0:16 'v4' (4-component vector of float)
|
||||
0:16 add (4-component vector of float)
|
||||
0:16 fwidthCoarse (4-component vector of float)
|
||||
0:16 move second child to first child (temp 4-component vector of float)
|
||||
0:16 'v4' (temp 4-component vector of float)
|
||||
0:16 add (temp 4-component vector of float)
|
||||
0:16 fwidthCoarse (global 4-component vector of float)
|
||||
0:16 'in4' (smooth in 4-component vector of float)
|
||||
0:16 fwidthFine (4-component vector of float)
|
||||
0:16 fwidthFine (global 4-component vector of float)
|
||||
0:16 'in4' (smooth in 4-component vector of float)
|
||||
0:18 Sequence
|
||||
0:18 move second child to first child (float)
|
||||
0:18 'cull' (float)
|
||||
0:18 direct index (smooth float)
|
||||
0:18 move second child to first child (temp float)
|
||||
0:18 'cull' (temp float)
|
||||
0:18 direct index (smooth temp float)
|
||||
0:18 'gl_CullDistance' (smooth in 3-element array of float)
|
||||
0:18 Constant:
|
||||
0:18 2 (const int)
|
||||
0:19 Sequence
|
||||
0:19 move second child to first child (float)
|
||||
0:19 'consts' (float)
|
||||
0:19 move second child to first child (temp float)
|
||||
0:19 'consts' (temp float)
|
||||
0:19 Constant:
|
||||
0:19 20.000000
|
||||
0:21 Test condition and select (void)
|
||||
0:21 Test condition and select (temp void)
|
||||
0:21 Condition
|
||||
0:21 'gl_HelperInvocation' (in bool)
|
||||
0:21 true case
|
||||
0:22 Pre-Increment (4-component vector of float)
|
||||
0:22 'v4' (4-component vector of float)
|
||||
0:22 Pre-Increment (temp 4-component vector of float)
|
||||
0:22 'v4' (temp 4-component vector of float)
|
||||
0:24 Sequence
|
||||
0:24 move second child to first child (int)
|
||||
0:24 'sum' (int)
|
||||
0:24 move second child to first child (temp int)
|
||||
0:24 'sum' (temp int)
|
||||
0:24 Constant:
|
||||
0:24 32 (const int)
|
||||
0:32 Sequence
|
||||
0:32 move second child to first child (2-component vector of bool)
|
||||
0:32 'b2' (2-component vector of bool)
|
||||
0:32 mix (2-component vector of bool)
|
||||
0:32 Construct bvec2 (2-component vector of bool)
|
||||
0:32 'b1' (bool)
|
||||
0:32 Construct bvec2 (2-component vector of bool)
|
||||
0:32 'b3' (bool)
|
||||
0:32 Construct bvec2 (2-component vector of bool)
|
||||
0:32 'b' (bool)
|
||||
0:32 move second child to first child (temp 2-component vector of bool)
|
||||
0:32 'b2' (temp 2-component vector of bool)
|
||||
0:32 mix (global 2-component vector of bool)
|
||||
0:32 Construct bvec2 (temp 2-component vector of bool)
|
||||
0:32 'b1' (temp bool)
|
||||
0:32 Construct bvec2 (temp 2-component vector of bool)
|
||||
0:32 'b3' (temp bool)
|
||||
0:32 Construct bvec2 (temp 2-component vector of bool)
|
||||
0:32 'b' (temp bool)
|
||||
0:33 Sequence
|
||||
0:33 move second child to first child (uint)
|
||||
0:33 'um' (uint)
|
||||
0:33 mix (uint)
|
||||
0:33 'uin' (uint)
|
||||
0:33 'uin' (uint)
|
||||
0:33 'b' (bool)
|
||||
0:33 move second child to first child (temp uint)
|
||||
0:33 'um' (temp uint)
|
||||
0:33 mix (global uint)
|
||||
0:33 'uin' (temp uint)
|
||||
0:33 'uin' (temp uint)
|
||||
0:33 'b' (temp bool)
|
||||
0:34 Sequence
|
||||
0:34 move second child to first child (3-component vector of int)
|
||||
0:34 'im3' (3-component vector of int)
|
||||
0:34 mix (3-component vector of int)
|
||||
0:34 Construct ivec3 (3-component vector of int)
|
||||
0:34 Convert uint to int (int)
|
||||
0:34 'uin' (uint)
|
||||
0:34 Construct ivec3 (3-component vector of int)
|
||||
0:34 Convert uint to int (int)
|
||||
0:34 'uin' (uint)
|
||||
0:34 Construct bvec3 (3-component vector of bool)
|
||||
0:34 'b' (bool)
|
||||
0:42 Function Definition: foo( (void)
|
||||
0:34 move second child to first child (temp 3-component vector of int)
|
||||
0:34 'im3' (temp 3-component vector of int)
|
||||
0:34 mix (global 3-component vector of int)
|
||||
0:34 Construct ivec3 (temp 3-component vector of int)
|
||||
0:34 Convert uint to int (temp int)
|
||||
0:34 'uin' (temp uint)
|
||||
0:34 Construct ivec3 (temp 3-component vector of int)
|
||||
0:34 Convert uint to int (temp int)
|
||||
0:34 'uin' (temp uint)
|
||||
0:34 Construct bvec3 (temp 3-component vector of bool)
|
||||
0:34 'b' (temp bool)
|
||||
0:42 Function Definition: foo( (global void)
|
||||
0:42 Function Parameters:
|
||||
0:44 Sequence
|
||||
0:44 Sequence
|
||||
0:44 move second child to first child (int)
|
||||
0:44 's' (int)
|
||||
0:44 Function Call: textureSamples(s21; (int)
|
||||
0:44 move second child to first child (temp int)
|
||||
0:44 's' (temp int)
|
||||
0:44 Function Call: textureSamples(s21; (global int)
|
||||
0:44 's2dms' (uniform sampler2DMS)
|
||||
0:45 add second child into first child (int)
|
||||
0:45 's' (int)
|
||||
0:45 Function Call: textureSamples(usA21; (int)
|
||||
0:45 add second child into first child (temp int)
|
||||
0:45 's' (temp int)
|
||||
0:45 Function Call: textureSamples(usA21; (global int)
|
||||
0:45 'us2dmsa' (uniform usampler2DMSArray)
|
||||
0:46 add second child into first child (int)
|
||||
0:46 's' (int)
|
||||
0:46 Function Call: imageSamples(iI21; (int)
|
||||
0:46 add second child into first child (temp int)
|
||||
0:46 's' (temp int)
|
||||
0:46 Function Call: imageSamples(iI21; (global int)
|
||||
0:46 'ii2dms' (layout(rgba32i ) uniform iimage2DMS)
|
||||
0:47 add second child into first child (int)
|
||||
0:47 's' (int)
|
||||
0:47 Function Call: imageSamples(IA21; (int)
|
||||
0:47 add second child into first child (temp int)
|
||||
0:47 's' (temp int)
|
||||
0:47 Function Call: imageSamples(IA21; (global int)
|
||||
0:47 'i2dmsa' (layout(rgba32f ) uniform image2DMSArray)
|
||||
0:48 Sequence
|
||||
0:48 move second child to first child (float)
|
||||
0:48 'f' (float)
|
||||
0:48 Function Call: imageAtomicExchange(IA21;vi3;i1;f1; (float)
|
||||
0:48 move second child to first child (temp float)
|
||||
0:48 'f' (temp float)
|
||||
0:48 Function Call: imageAtomicExchange(IA21;vi3;i1;f1; (global float)
|
||||
0:48 'i2dmsa' (layout(rgba32f ) uniform image2DMSArray)
|
||||
0:48 Convert float to int (3-component vector of int)
|
||||
0:48 Convert float to int (temp 3-component vector of int)
|
||||
0:48 'in3' (smooth in 3-component vector of float)
|
||||
0:48 Constant:
|
||||
0:48 2 (const int)
|
||||
|
||||
Reference in New Issue
Block a user