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,47 +3,47 @@ link1.frag
|
||||
Shader version: 130
|
||||
0:? Sequence
|
||||
0:8 Sequence
|
||||
0:8 move second child to first child (4-component vector of float)
|
||||
0:8 'a' (4-component vector of float)
|
||||
0:8 vector-scale (4-component vector of float)
|
||||
0:8 move second child to first child (temp 4-component vector of float)
|
||||
0:8 'a' (global 4-component vector of float)
|
||||
0:8 vector-scale (temp 4-component vector of float)
|
||||
0:8 Constant:
|
||||
0:8 8.000000
|
||||
0:8 'uv4' (uniform 4-component vector of float)
|
||||
0:13 Function Definition: main( (void)
|
||||
0:13 Function Definition: main( (global void)
|
||||
0:13 Function Parameters:
|
||||
0:17 Sequence
|
||||
0:17 move second child to first child (4-component vector of float)
|
||||
0:17 'b' (4-component vector of float)
|
||||
0:17 vector-scale (4-component vector of float)
|
||||
0:17 move second child to first child (temp 4-component vector of float)
|
||||
0:17 'b' (global 4-component vector of float)
|
||||
0:17 vector-scale (temp 4-component vector of float)
|
||||
0:17 Constant:
|
||||
0:17 8.000000
|
||||
0:17 'a' (4-component vector of float)
|
||||
0:19 Function Definition: foo(mf22; (2-component vector of int)
|
||||
0:17 'a' (global 4-component vector of float)
|
||||
0:19 Function Definition: foo(mf22; (global 2-component vector of int)
|
||||
0:19 Function Parameters:
|
||||
0:19 'm' (in 2X2 matrix of float)
|
||||
0:21 Sequence
|
||||
0:21 Branch: Return with expression
|
||||
0:21 Convert float to int (2-component vector of int)
|
||||
0:21 direct index (2-component vector of float)
|
||||
0:21 Convert float to int (temp 2-component vector of int)
|
||||
0:21 direct index (temp 2-component vector of float)
|
||||
0:21 'm' (in 2X2 matrix of float)
|
||||
0:21 Constant:
|
||||
0:21 0 (const int)
|
||||
0:24 Sequence
|
||||
0:24 move second child to first child (4-component vector of float)
|
||||
0:24 'c' (4-component vector of float)
|
||||
0:24 component-wise multiply (4-component vector of float)
|
||||
0:24 'b' (4-component vector of float)
|
||||
0:24 'b' (4-component vector of float)
|
||||
0:24 move second child to first child (temp 4-component vector of float)
|
||||
0:24 'c' (global 4-component vector of float)
|
||||
0:24 component-wise multiply (temp 4-component vector of float)
|
||||
0:24 'b' (global 4-component vector of float)
|
||||
0:24 'b' (global 4-component vector of float)
|
||||
0:? Linker Objects
|
||||
0:? 'uv4' (uniform 4-component vector of float)
|
||||
0:? 'glass' (uniform 3-component vector of float)
|
||||
0:? 'ci' (const int)
|
||||
0:? 8 (const int)
|
||||
0:? 'a' (4-component vector of float)
|
||||
0:? 'a' (global 4-component vector of float)
|
||||
0:? 'iv3' (smooth in 3-component vector of float)
|
||||
0:? 'cup' (smooth in 4-component vector of float)
|
||||
0:? 'b' (4-component vector of float)
|
||||
0:? 'c' (4-component vector of float)
|
||||
0:? 'b' (global 4-component vector of float)
|
||||
0:? 'c' (global 4-component vector of float)
|
||||
0:? 'cv3' (const 3-component vector of float)
|
||||
0:? 43.000000
|
||||
0:? 0.340000
|
||||
@@ -71,11 +71,11 @@ Shader version: 130
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 4.000000
|
||||
0:? 's' (uniform structure{int a, float b})
|
||||
0:? 's' (uniform structure{global int a, global float b})
|
||||
0:? 82 (const int)
|
||||
0:? 3.900000
|
||||
0:? 'sn' (uniform structure{int a, float b})
|
||||
0:? 'se' (uniform structure{int a, float b})
|
||||
0:? 'sn' (uniform structure{global int a, global float b})
|
||||
0:? 'se' (uniform structure{global int a, global float b})
|
||||
0:? 82 (const int)
|
||||
0:? 3.900000
|
||||
|
||||
@@ -86,20 +86,20 @@ Requested GL_OES_standard_derivatives
|
||||
Requested GL_OES_texture_3D
|
||||
0:? Sequence
|
||||
0:8 Sequence
|
||||
0:8 move second child to first child (4-component vector of float)
|
||||
0:8 'd' (4-component vector of float)
|
||||
0:8 vector-scale (4-component vector of float)
|
||||
0:8 move second child to first child (temp 4-component vector of float)
|
||||
0:8 'd' (global 4-component vector of float)
|
||||
0:8 vector-scale (temp 4-component vector of float)
|
||||
0:8 Constant:
|
||||
0:8 8.000000
|
||||
0:8 'uv4' (uniform 4-component vector of float)
|
||||
0:13 Sequence
|
||||
0:13 move second child to first child (4-component vector of float)
|
||||
0:13 'e' (4-component vector of float)
|
||||
0:13 vector-scale (4-component vector of float)
|
||||
0:13 move second child to first child (temp 4-component vector of float)
|
||||
0:13 'e' (global 4-component vector of float)
|
||||
0:13 vector-scale (temp 4-component vector of float)
|
||||
0:13 Constant:
|
||||
0:13 8.000000
|
||||
0:13 'd' (4-component vector of float)
|
||||
0:15 Function Definition: foo( (2-component vector of int)
|
||||
0:13 'd' (global 4-component vector of float)
|
||||
0:15 Function Definition: foo( (global 2-component vector of int)
|
||||
0:15 Function Parameters:
|
||||
0:17 Sequence
|
||||
0:17 Branch: Return with expression
|
||||
@@ -107,21 +107,21 @@ Requested GL_OES_texture_3D
|
||||
0:17 2 (const int)
|
||||
0:17 2 (const int)
|
||||
0:20 Sequence
|
||||
0:20 move second child to first child (4-component vector of float)
|
||||
0:20 'f' (4-component vector of float)
|
||||
0:20 component-wise multiply (4-component vector of float)
|
||||
0:20 'e' (4-component vector of float)
|
||||
0:20 'e' (4-component vector of float)
|
||||
0:20 move second child to first child (temp 4-component vector of float)
|
||||
0:20 'f' (global 4-component vector of float)
|
||||
0:20 component-wise multiply (temp 4-component vector of float)
|
||||
0:20 'e' (global 4-component vector of float)
|
||||
0:20 'e' (global 4-component vector of float)
|
||||
0:? Linker Objects
|
||||
0:? 'uv4' (uniform 4-component vector of float)
|
||||
0:? 'glass' (uniform 2-component vector of float)
|
||||
0:? 'ci' (const int)
|
||||
0:? 8 (const int)
|
||||
0:? 'd' (4-component vector of float)
|
||||
0:? 'd' (global 4-component vector of float)
|
||||
0:? 'iv3' (smooth in 3-component vector of float)
|
||||
0:? 'cup' (flat in 4-component vector of float)
|
||||
0:? 'e' (4-component vector of float)
|
||||
0:? 'f' (4-component vector of float)
|
||||
0:? 'e' (global 4-component vector of float)
|
||||
0:? 'f' (global 4-component vector of float)
|
||||
0:? 'cv3' (const 3-component vector of float)
|
||||
0:? 43.000000
|
||||
0:? 0.340000
|
||||
@@ -141,13 +141,13 @@ Requested GL_OES_texture_3D
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 3.000000
|
||||
0:? 's' (uniform structure{int a, float b})
|
||||
0:? 's' (uniform structure{global int a, global float b})
|
||||
0:? 82 (const int)
|
||||
0:? 3.900000
|
||||
0:? 'sn' (uniform structure{int a, float b})
|
||||
0:? 'sn' (uniform structure{global int a, global float b})
|
||||
0:? 82 (const int)
|
||||
0:? 3.900000
|
||||
0:? 'se' (uniform structure{int a, float b})
|
||||
0:? 'se' (uniform structure{global int a, global float b})
|
||||
0:? 81 (const int)
|
||||
0:? 3.900000
|
||||
|
||||
@@ -186,52 +186,52 @@ Requested GL_OES_standard_derivatives
|
||||
Requested GL_OES_texture_3D
|
||||
0:? Sequence
|
||||
0:8 Sequence
|
||||
0:8 move second child to first child (4-component vector of float)
|
||||
0:8 'a' (4-component vector of float)
|
||||
0:8 vector-scale (4-component vector of float)
|
||||
0:8 move second child to first child (temp 4-component vector of float)
|
||||
0:8 'a' (global 4-component vector of float)
|
||||
0:8 vector-scale (temp 4-component vector of float)
|
||||
0:8 Constant:
|
||||
0:8 8.000000
|
||||
0:8 'uv4' (uniform 4-component vector of float)
|
||||
0:13 Function Definition: main( (void)
|
||||
0:13 Function Definition: main( (global void)
|
||||
0:13 Function Parameters:
|
||||
0:17 Sequence
|
||||
0:17 move second child to first child (4-component vector of float)
|
||||
0:17 'b' (4-component vector of float)
|
||||
0:17 vector-scale (4-component vector of float)
|
||||
0:17 move second child to first child (temp 4-component vector of float)
|
||||
0:17 'b' (global 4-component vector of float)
|
||||
0:17 vector-scale (temp 4-component vector of float)
|
||||
0:17 Constant:
|
||||
0:17 8.000000
|
||||
0:17 'a' (4-component vector of float)
|
||||
0:19 Function Definition: foo(mf22; (2-component vector of int)
|
||||
0:17 'a' (global 4-component vector of float)
|
||||
0:19 Function Definition: foo(mf22; (global 2-component vector of int)
|
||||
0:19 Function Parameters:
|
||||
0:19 'm' (in 2X2 matrix of float)
|
||||
0:21 Sequence
|
||||
0:21 Branch: Return with expression
|
||||
0:21 Convert float to int (2-component vector of int)
|
||||
0:21 direct index (2-component vector of float)
|
||||
0:21 Convert float to int (temp 2-component vector of int)
|
||||
0:21 direct index (temp 2-component vector of float)
|
||||
0:21 'm' (in 2X2 matrix of float)
|
||||
0:21 Constant:
|
||||
0:21 0 (const int)
|
||||
0:24 Sequence
|
||||
0:24 move second child to first child (4-component vector of float)
|
||||
0:24 'c' (4-component vector of float)
|
||||
0:24 component-wise multiply (4-component vector of float)
|
||||
0:24 'b' (4-component vector of float)
|
||||
0:24 'b' (4-component vector of float)
|
||||
0:24 move second child to first child (temp 4-component vector of float)
|
||||
0:24 'c' (global 4-component vector of float)
|
||||
0:24 component-wise multiply (temp 4-component vector of float)
|
||||
0:24 'b' (global 4-component vector of float)
|
||||
0:24 'b' (global 4-component vector of float)
|
||||
0:8 Sequence
|
||||
0:8 move second child to first child (4-component vector of float)
|
||||
0:8 'd' (4-component vector of float)
|
||||
0:8 vector-scale (4-component vector of float)
|
||||
0:8 move second child to first child (temp 4-component vector of float)
|
||||
0:8 'd' (global 4-component vector of float)
|
||||
0:8 vector-scale (temp 4-component vector of float)
|
||||
0:8 Constant:
|
||||
0:8 8.000000
|
||||
0:8 'uv4' (uniform 4-component vector of float)
|
||||
0:13 Sequence
|
||||
0:13 move second child to first child (4-component vector of float)
|
||||
0:13 'e' (4-component vector of float)
|
||||
0:13 vector-scale (4-component vector of float)
|
||||
0:13 move second child to first child (temp 4-component vector of float)
|
||||
0:13 'e' (global 4-component vector of float)
|
||||
0:13 vector-scale (temp 4-component vector of float)
|
||||
0:13 Constant:
|
||||
0:13 8.000000
|
||||
0:13 'd' (4-component vector of float)
|
||||
0:15 Function Definition: foo( (2-component vector of int)
|
||||
0:13 'd' (global 4-component vector of float)
|
||||
0:15 Function Definition: foo( (global 2-component vector of int)
|
||||
0:15 Function Parameters:
|
||||
0:17 Sequence
|
||||
0:17 Branch: Return with expression
|
||||
@@ -239,21 +239,21 @@ Requested GL_OES_texture_3D
|
||||
0:17 2 (const int)
|
||||
0:17 2 (const int)
|
||||
0:20 Sequence
|
||||
0:20 move second child to first child (4-component vector of float)
|
||||
0:20 'f' (4-component vector of float)
|
||||
0:20 component-wise multiply (4-component vector of float)
|
||||
0:20 'e' (4-component vector of float)
|
||||
0:20 'e' (4-component vector of float)
|
||||
0:20 move second child to first child (temp 4-component vector of float)
|
||||
0:20 'f' (global 4-component vector of float)
|
||||
0:20 component-wise multiply (temp 4-component vector of float)
|
||||
0:20 'e' (global 4-component vector of float)
|
||||
0:20 'e' (global 4-component vector of float)
|
||||
0:? Linker Objects
|
||||
0:? 'uv4' (uniform 4-component vector of float)
|
||||
0:? 'glass' (uniform 3-component vector of float)
|
||||
0:? 'ci' (const int)
|
||||
0:? 8 (const int)
|
||||
0:? 'a' (4-component vector of float)
|
||||
0:? 'a' (global 4-component vector of float)
|
||||
0:? 'iv3' (smooth in 3-component vector of float)
|
||||
0:? 'cup' (smooth in 4-component vector of float)
|
||||
0:? 'b' (4-component vector of float)
|
||||
0:? 'c' (4-component vector of float)
|
||||
0:? 'b' (global 4-component vector of float)
|
||||
0:? 'c' (global 4-component vector of float)
|
||||
0:? 'cv3' (const 3-component vector of float)
|
||||
0:? 43.000000
|
||||
0:? 0.340000
|
||||
@@ -281,16 +281,16 @@ Requested GL_OES_texture_3D
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 4.000000
|
||||
0:? 's' (uniform structure{int a, float b})
|
||||
0:? 's' (uniform structure{global int a, global float b})
|
||||
0:? 82 (const int)
|
||||
0:? 3.900000
|
||||
0:? 'sn' (uniform structure{int a, float b})
|
||||
0:? 'sn' (uniform structure{global int a, global float b})
|
||||
0:? 82 (const int)
|
||||
0:? 3.900000
|
||||
0:? 'se' (uniform structure{int a, float b})
|
||||
0:? 'se' (uniform structure{global int a, global float b})
|
||||
0:? 82 (const int)
|
||||
0:? 3.900000
|
||||
0:? 'd' (4-component vector of float)
|
||||
0:? 'e' (4-component vector of float)
|
||||
0:? 'f' (4-component vector of float)
|
||||
0:? 'd' (global 4-component vector of float)
|
||||
0:? 'e' (global 4-component vector of float)
|
||||
0:? 'f' (global 4-component vector of float)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user