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
|
|
@ -16,23 +16,23 @@ Shader version: 140
|
|||
Requested GL_ARB_explicit_attrib_location
|
||||
Requested GL_ARB_separate_shader_objects
|
||||
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 (int)
|
||||
0:11 'id' (int)
|
||||
0:11 move second child to first child (temp int)
|
||||
0:11 'id' (temp int)
|
||||
0:11 'gl_InstanceID' (gl_InstanceId int)
|
||||
0:12 add second child into first child (int)
|
||||
0:12 'id' (int)
|
||||
0:12 add second child into first child (temp int)
|
||||
0:12 'id' (temp int)
|
||||
0:12 anonMem: direct index for structure (layout(column_major std140 offset=0 ) uniform int)
|
||||
0:12 'anon@0' (layout(column_major std140 ) uniform block{layout(column_major std140 offset=0 ) uniform int anonMem})
|
||||
0:12 Constant:
|
||||
0:12 0 (const uint)
|
||||
0:13 add second child into first child (int)
|
||||
0:13 'id' (int)
|
||||
0:13 direct index (int)
|
||||
0:13 Function Call: texelFetch(isB1;i1; (4-component vector of int)
|
||||
0:13 add second child into first child (temp int)
|
||||
0:13 'id' (temp int)
|
||||
0:13 direct index (temp int)
|
||||
0:13 Function Call: texelFetch(isB1;i1; (global 4-component vector of int)
|
||||
0:13 'sbuf' (uniform isamplerBuffer)
|
||||
0:13 Constant:
|
||||
0:13 8 (const int)
|
||||
|
|
@ -40,57 +40,57 @@ ERROR: node is still EOpNull!
|
|||
0:13 3 (const int)
|
||||
0:14 'gl_ClipVertex' (gl_ClipVertex 4-component vector of float)
|
||||
0:15 'gl_Color' (in 4-component vector of float)
|
||||
0:16 direct index (structure{4-component vector of float ambient, 4-component vector of float diffuse, 4-component vector of float specular, 4-component vector of float position, 4-component vector of float halfVector, 3-component vector of float spotDirection, float spotExponent, float spotCutoff, float spotCosCutoff, float constantAttenuation, float linearAttenuation, float quadraticAttenuation})
|
||||
0:16 'gl_LightSource' (uniform 32-element array of structure{4-component vector of float ambient, 4-component vector of float diffuse, 4-component vector of float specular, 4-component vector of float position, 4-component vector of float halfVector, 3-component vector of float spotDirection, float spotExponent, float spotCutoff, float spotCosCutoff, float constantAttenuation, float linearAttenuation, float quadraticAttenuation})
|
||||
0:16 direct index (temp structure{global 4-component vector of float ambient, global 4-component vector of float diffuse, global 4-component vector of float specular, global 4-component vector of float position, global 4-component vector of float halfVector, global 3-component vector of float spotDirection, global float spotExponent, global float spotCutoff, global float spotCosCutoff, global float constantAttenuation, global float linearAttenuation, global float quadraticAttenuation})
|
||||
0:16 'gl_LightSource' (uniform 32-element array of structure{global 4-component vector of float ambient, global 4-component vector of float diffuse, global 4-component vector of float specular, global 4-component vector of float position, global 4-component vector of float halfVector, global 3-component vector of float spotDirection, global float spotExponent, global float spotCutoff, global float spotCosCutoff, global float constantAttenuation, global float linearAttenuation, global float quadraticAttenuation})
|
||||
0:16 Constant:
|
||||
0:16 0 (const int)
|
||||
0:17 far: direct index for structure (float)
|
||||
0:17 'gl_DepthRange' (uniform structure{float near, float far, float diff})
|
||||
0:17 far: direct index for structure (global float)
|
||||
0:17 'gl_DepthRange' (uniform structure{global float near, global float far, global float diff})
|
||||
0:17 Constant:
|
||||
0:17 1 (const int)
|
||||
0:18 'gl_TexCoord' (smooth out implicitly-sized array of 4-component vector of float)
|
||||
0:19 'gl_FogFragCoord' (smooth out float)
|
||||
0:20 'gl_FrontColor' (smooth out 4-component vector of float)
|
||||
0:48 Function Definition: foo( (void)
|
||||
0:48 Function Definition: foo( (global void)
|
||||
0:48 Function Parameters:
|
||||
0:50 Sequence
|
||||
0:50 Sequence
|
||||
0:50 move second child to first child (4-component vector of float)
|
||||
0:50 'v' (4-component vector of float)
|
||||
0:50 Function Call: texelFetch(sR21;vi2; (4-component vector of float)
|
||||
0:50 move second child to first child (temp 4-component vector of float)
|
||||
0:50 'v' (temp 4-component vector of float)
|
||||
0:50 Function Call: texelFetch(sR21;vi2; (global 4-component vector of float)
|
||||
0:50 's2dr' (uniform sampler2DRect)
|
||||
0:50 'itloc2' (in 2-component vector of int)
|
||||
0:51 add second child into first child (4-component vector of float)
|
||||
0:51 'v' (4-component vector of float)
|
||||
0:51 add second child into first child (temp 4-component vector of float)
|
||||
0:51 'v' (temp 4-component vector of float)
|
||||
0:51 Constant:
|
||||
0:51 0.000000
|
||||
0:52 add second child into first child (4-component vector of float)
|
||||
0:52 'v' (4-component vector of float)
|
||||
0:52 Function Call: texture(sR21;vf2; (4-component vector of float)
|
||||
0:52 add second child into first child (temp 4-component vector of float)
|
||||
0:52 'v' (temp 4-component vector of float)
|
||||
0:52 Function Call: texture(sR21;vf2; (global 4-component vector of float)
|
||||
0:52 's2dr' (uniform sampler2DRect)
|
||||
0:52 'tloc2' (in 2-component vector of float)
|
||||
0:53 add second child into first child (4-component vector of float)
|
||||
0:53 'v' (4-component vector of float)
|
||||
0:53 add second child into first child (temp 4-component vector of float)
|
||||
0:53 'v' (temp 4-component vector of float)
|
||||
0:53 Constant:
|
||||
0:53 0.000000
|
||||
0:54 add second child into first child (4-component vector of float)
|
||||
0:54 'v' (4-component vector of float)
|
||||
0:54 Function Call: texture(sSR21;vf3; (float)
|
||||
0:54 add second child into first child (temp 4-component vector of float)
|
||||
0:54 'v' (temp 4-component vector of float)
|
||||
0:54 Function Call: texture(sSR21;vf3; (global float)
|
||||
0:54 's2drs' (uniform sampler2DRectShadow)
|
||||
0:54 'tloc3' (in 3-component vector of float)
|
||||
0:55 add second child into first child (4-component vector of float)
|
||||
0:55 'v' (4-component vector of float)
|
||||
0:55 Function Call: textureProj(sR21;vf3; (4-component vector of float)
|
||||
0:55 add second child into first child (temp 4-component vector of float)
|
||||
0:55 'v' (temp 4-component vector of float)
|
||||
0:55 Function Call: textureProj(sR21;vf3; (global 4-component vector of float)
|
||||
0:55 's2dr' (uniform sampler2DRect)
|
||||
0:55 'tloc3' (in 3-component vector of float)
|
||||
0:56 add second child into first child (4-component vector of float)
|
||||
0:56 'v' (4-component vector of float)
|
||||
0:56 Function Call: textureProj(sR21;vf4; (4-component vector of float)
|
||||
0:56 add second child into first child (temp 4-component vector of float)
|
||||
0:56 'v' (temp 4-component vector of float)
|
||||
0:56 Function Call: textureProj(sR21;vf4; (global 4-component vector of float)
|
||||
0:56 's2dr' (uniform sampler2DRect)
|
||||
0:56 'tloc4' (in 4-component vector of float)
|
||||
0:57 add second child into first child (4-component vector of float)
|
||||
0:57 'v' (4-component vector of float)
|
||||
0:57 Function Call: textureProjGradOffset(sR21;vf4;vf2;vf2;vi2; (4-component vector of float)
|
||||
0:57 add second child into first child (temp 4-component vector of float)
|
||||
0:57 'v' (temp 4-component vector of float)
|
||||
0:57 Function Call: textureProjGradOffset(sR21;vf4;vf2;vf2;vi2; (global 4-component vector of float)
|
||||
0:57 's2dr' (uniform sampler2DRect)
|
||||
0:57 'tloc4' (in 4-component vector of float)
|
||||
0:57 Constant:
|
||||
|
|
@ -102,9 +102,9 @@ ERROR: node is still EOpNull!
|
|||
0:57 Constant:
|
||||
0:57 1 (const int)
|
||||
0:57 2 (const int)
|
||||
0:58 add second child into first child (4-component vector of float)
|
||||
0:58 'v' (4-component vector of float)
|
||||
0:58 Function Call: textureProjGradOffset(sSR21;vf4;vf2;vf2;vi2; (float)
|
||||
0:58 add second child into first child (temp 4-component vector of float)
|
||||
0:58 'v' (temp 4-component vector of float)
|
||||
0:58 Function Call: textureProjGradOffset(sSR21;vf4;vf2;vf2;vi2; (global float)
|
||||
0:58 's2drs' (uniform sampler2DRectShadow)
|
||||
0:58 'tloc4' (in 4-component vector of float)
|
||||
0:58 Constant:
|
||||
|
|
@ -146,23 +146,23 @@ Shader version: 140
|
|||
Requested GL_ARB_explicit_attrib_location
|
||||
Requested GL_ARB_separate_shader_objects
|
||||
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 (int)
|
||||
0:11 'id' (int)
|
||||
0:11 move second child to first child (temp int)
|
||||
0:11 'id' (temp int)
|
||||
0:11 'gl_InstanceID' (gl_InstanceId int)
|
||||
0:12 add second child into first child (int)
|
||||
0:12 'id' (int)
|
||||
0:12 add second child into first child (temp int)
|
||||
0:12 'id' (temp int)
|
||||
0:12 anonMem: direct index for structure (layout(column_major std140 offset=0 ) uniform int)
|
||||
0:12 'anon@0' (layout(column_major std140 ) uniform block{layout(column_major std140 offset=0 ) uniform int anonMem})
|
||||
0:12 Constant:
|
||||
0:12 0 (const uint)
|
||||
0:13 add second child into first child (int)
|
||||
0:13 'id' (int)
|
||||
0:13 direct index (int)
|
||||
0:13 Function Call: texelFetch(isB1;i1; (4-component vector of int)
|
||||
0:13 add second child into first child (temp int)
|
||||
0:13 'id' (temp int)
|
||||
0:13 direct index (temp int)
|
||||
0:13 Function Call: texelFetch(isB1;i1; (global 4-component vector of int)
|
||||
0:13 'sbuf' (uniform isamplerBuffer)
|
||||
0:13 Constant:
|
||||
0:13 8 (const int)
|
||||
|
|
@ -170,57 +170,57 @@ ERROR: node is still EOpNull!
|
|||
0:13 3 (const int)
|
||||
0:14 'gl_ClipVertex' (gl_ClipVertex 4-component vector of float)
|
||||
0:15 'gl_Color' (in 4-component vector of float)
|
||||
0:16 direct index (structure{4-component vector of float ambient, 4-component vector of float diffuse, 4-component vector of float specular, 4-component vector of float position, 4-component vector of float halfVector, 3-component vector of float spotDirection, float spotExponent, float spotCutoff, float spotCosCutoff, float constantAttenuation, float linearAttenuation, float quadraticAttenuation})
|
||||
0:16 'gl_LightSource' (uniform 32-element array of structure{4-component vector of float ambient, 4-component vector of float diffuse, 4-component vector of float specular, 4-component vector of float position, 4-component vector of float halfVector, 3-component vector of float spotDirection, float spotExponent, float spotCutoff, float spotCosCutoff, float constantAttenuation, float linearAttenuation, float quadraticAttenuation})
|
||||
0:16 direct index (temp structure{global 4-component vector of float ambient, global 4-component vector of float diffuse, global 4-component vector of float specular, global 4-component vector of float position, global 4-component vector of float halfVector, global 3-component vector of float spotDirection, global float spotExponent, global float spotCutoff, global float spotCosCutoff, global float constantAttenuation, global float linearAttenuation, global float quadraticAttenuation})
|
||||
0:16 'gl_LightSource' (uniform 32-element array of structure{global 4-component vector of float ambient, global 4-component vector of float diffuse, global 4-component vector of float specular, global 4-component vector of float position, global 4-component vector of float halfVector, global 3-component vector of float spotDirection, global float spotExponent, global float spotCutoff, global float spotCosCutoff, global float constantAttenuation, global float linearAttenuation, global float quadraticAttenuation})
|
||||
0:16 Constant:
|
||||
0:16 0 (const int)
|
||||
0:17 far: direct index for structure (float)
|
||||
0:17 'gl_DepthRange' (uniform structure{float near, float far, float diff})
|
||||
0:17 far: direct index for structure (global float)
|
||||
0:17 'gl_DepthRange' (uniform structure{global float near, global float far, global float diff})
|
||||
0:17 Constant:
|
||||
0:17 1 (const int)
|
||||
0:18 'gl_TexCoord' (smooth out 1-element array of 4-component vector of float)
|
||||
0:19 'gl_FogFragCoord' (smooth out float)
|
||||
0:20 'gl_FrontColor' (smooth out 4-component vector of float)
|
||||
0:48 Function Definition: foo( (void)
|
||||
0:48 Function Definition: foo( (global void)
|
||||
0:48 Function Parameters:
|
||||
0:50 Sequence
|
||||
0:50 Sequence
|
||||
0:50 move second child to first child (4-component vector of float)
|
||||
0:50 'v' (4-component vector of float)
|
||||
0:50 Function Call: texelFetch(sR21;vi2; (4-component vector of float)
|
||||
0:50 move second child to first child (temp 4-component vector of float)
|
||||
0:50 'v' (temp 4-component vector of float)
|
||||
0:50 Function Call: texelFetch(sR21;vi2; (global 4-component vector of float)
|
||||
0:50 's2dr' (uniform sampler2DRect)
|
||||
0:50 'itloc2' (in 2-component vector of int)
|
||||
0:51 add second child into first child (4-component vector of float)
|
||||
0:51 'v' (4-component vector of float)
|
||||
0:51 add second child into first child (temp 4-component vector of float)
|
||||
0:51 'v' (temp 4-component vector of float)
|
||||
0:51 Constant:
|
||||
0:51 0.000000
|
||||
0:52 add second child into first child (4-component vector of float)
|
||||
0:52 'v' (4-component vector of float)
|
||||
0:52 Function Call: texture(sR21;vf2; (4-component vector of float)
|
||||
0:52 add second child into first child (temp 4-component vector of float)
|
||||
0:52 'v' (temp 4-component vector of float)
|
||||
0:52 Function Call: texture(sR21;vf2; (global 4-component vector of float)
|
||||
0:52 's2dr' (uniform sampler2DRect)
|
||||
0:52 'tloc2' (in 2-component vector of float)
|
||||
0:53 add second child into first child (4-component vector of float)
|
||||
0:53 'v' (4-component vector of float)
|
||||
0:53 add second child into first child (temp 4-component vector of float)
|
||||
0:53 'v' (temp 4-component vector of float)
|
||||
0:53 Constant:
|
||||
0:53 0.000000
|
||||
0:54 add second child into first child (4-component vector of float)
|
||||
0:54 'v' (4-component vector of float)
|
||||
0:54 Function Call: texture(sSR21;vf3; (float)
|
||||
0:54 add second child into first child (temp 4-component vector of float)
|
||||
0:54 'v' (temp 4-component vector of float)
|
||||
0:54 Function Call: texture(sSR21;vf3; (global float)
|
||||
0:54 's2drs' (uniform sampler2DRectShadow)
|
||||
0:54 'tloc3' (in 3-component vector of float)
|
||||
0:55 add second child into first child (4-component vector of float)
|
||||
0:55 'v' (4-component vector of float)
|
||||
0:55 Function Call: textureProj(sR21;vf3; (4-component vector of float)
|
||||
0:55 add second child into first child (temp 4-component vector of float)
|
||||
0:55 'v' (temp 4-component vector of float)
|
||||
0:55 Function Call: textureProj(sR21;vf3; (global 4-component vector of float)
|
||||
0:55 's2dr' (uniform sampler2DRect)
|
||||
0:55 'tloc3' (in 3-component vector of float)
|
||||
0:56 add second child into first child (4-component vector of float)
|
||||
0:56 'v' (4-component vector of float)
|
||||
0:56 Function Call: textureProj(sR21;vf4; (4-component vector of float)
|
||||
0:56 add second child into first child (temp 4-component vector of float)
|
||||
0:56 'v' (temp 4-component vector of float)
|
||||
0:56 Function Call: textureProj(sR21;vf4; (global 4-component vector of float)
|
||||
0:56 's2dr' (uniform sampler2DRect)
|
||||
0:56 'tloc4' (in 4-component vector of float)
|
||||
0:57 add second child into first child (4-component vector of float)
|
||||
0:57 'v' (4-component vector of float)
|
||||
0:57 Function Call: textureProjGradOffset(sR21;vf4;vf2;vf2;vi2; (4-component vector of float)
|
||||
0:57 add second child into first child (temp 4-component vector of float)
|
||||
0:57 'v' (temp 4-component vector of float)
|
||||
0:57 Function Call: textureProjGradOffset(sR21;vf4;vf2;vf2;vi2; (global 4-component vector of float)
|
||||
0:57 's2dr' (uniform sampler2DRect)
|
||||
0:57 'tloc4' (in 4-component vector of float)
|
||||
0:57 Constant:
|
||||
|
|
@ -232,9 +232,9 @@ ERROR: node is still EOpNull!
|
|||
0:57 Constant:
|
||||
0:57 1 (const int)
|
||||
0:57 2 (const int)
|
||||
0:58 add second child into first child (4-component vector of float)
|
||||
0:58 'v' (4-component vector of float)
|
||||
0:58 Function Call: textureProjGradOffset(sSR21;vf4;vf2;vf2;vi2; (float)
|
||||
0:58 add second child into first child (temp 4-component vector of float)
|
||||
0:58 'v' (temp 4-component vector of float)
|
||||
0:58 Function Call: textureProjGradOffset(sSR21;vf4;vf2;vf2;vi2; (global float)
|
||||
0:58 's2drs' (uniform sampler2DRectShadow)
|
||||
0:58 'tloc4' (in 4-component vector of float)
|
||||
0:58 Constant:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue