glslang: Formally track all built-in variables, right from the beginning, to enable avoiding all textual compares at any subsequent stage in the stack. (To be used in future check ins.)
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31224 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -112,10 +112,10 @@ ERROR: node is still EOpNull!
|
||||
0:45 Sequence
|
||||
0:45 move second child to first child (temp int)
|
||||
0:45 'id' (temp int)
|
||||
0:45 'gl_VertexID' (gl_VertexId int)
|
||||
0:45 'gl_VertexID' (gl_VertexId int VertexId)
|
||||
0:46 move second child to first child (temp float)
|
||||
0:46 direct index (smooth temp float)
|
||||
0:46 'gl_ClipDistance' (smooth out implicitly-sized array of float)
|
||||
0:46 direct index (smooth temp float ClipDistance)
|
||||
0:46 'gl_ClipDistance' (smooth out implicitly-sized array of float ClipDistance)
|
||||
0:46 Constant:
|
||||
0:46 1 (const int)
|
||||
0:46 Constant:
|
||||
@@ -124,8 +124,8 @@ ERROR: node is still EOpNull!
|
||||
0:57 Function Parameters:
|
||||
0:? Sequence
|
||||
0:61 'id' (temp int)
|
||||
0:63 'gl_ClipVertex' (gl_ClipVertex 4-component vector of float)
|
||||
0:64 'gl_Color' (in 4-component vector of float)
|
||||
0:63 'gl_ClipVertex' (gl_ClipVertex 4-component vector of float ClipVertex)
|
||||
0:64 'gl_Color' (in 4-component vector of float Color)
|
||||
0:65 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:65 '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:65 Constant:
|
||||
@@ -134,9 +134,9 @@ ERROR: node is still EOpNull!
|
||||
0:66 'gl_DepthRange' (uniform structure{global float near, global float far, global float diff})
|
||||
0:66 Constant:
|
||||
0:66 1 (const int)
|
||||
0:67 'gl_TexCoord' (smooth out implicitly-sized array of 4-component vector of float)
|
||||
0:68 'gl_FogFragCoord' (smooth out float)
|
||||
0:69 'gl_FrontColor' (smooth out 4-component vector of float)
|
||||
0:67 'gl_TexCoord' (smooth out implicitly-sized array of 4-component vector of float TexCoord)
|
||||
0:68 'gl_FogFragCoord' (smooth out float FogFragCoord)
|
||||
0:69 'gl_FrontColor' (smooth out 4-component vector of float FrontColor)
|
||||
0:? Linker Objects
|
||||
0:? 'c' (uniform int)
|
||||
0:? 'us2D' (uniform usampler2D)
|
||||
@@ -147,10 +147,10 @@ ERROR: node is still EOpNull!
|
||||
0:? 'c3D' (in 3-component vector of float)
|
||||
0:? 'c4D' (smooth temp 4-component vector of float)
|
||||
0:? 'v4' (uniform 4-component vector of float)
|
||||
0:? 'gl_ClipDistance' (smooth out implicitly-sized array of float)
|
||||
0:? 'gl_TexCoord' (smooth out implicitly-sized array of 4-component vector of float)
|
||||
0:? 'gl_ClipDistance' (smooth out implicitly-sized array of float ClipDistance)
|
||||
0:? 'gl_TexCoord' (smooth out implicitly-sized array of 4-component vector of float TexCoord)
|
||||
0:? 'abc' (global int)
|
||||
0:? 'gl_VertexID' (gl_VertexId int)
|
||||
0:? 'gl_VertexID' (gl_VertexId int VertexId)
|
||||
|
||||
|
||||
Linked vertex stage:
|
||||
@@ -261,10 +261,10 @@ ERROR: node is still EOpNull!
|
||||
0:45 Sequence
|
||||
0:45 move second child to first child (temp int)
|
||||
0:45 'id' (temp int)
|
||||
0:45 'gl_VertexID' (gl_VertexId int)
|
||||
0:45 'gl_VertexID' (gl_VertexId int VertexId)
|
||||
0:46 move second child to first child (temp float)
|
||||
0:46 direct index (smooth temp float)
|
||||
0:46 'gl_ClipDistance' (smooth out 2-element array of float)
|
||||
0:46 direct index (smooth temp float ClipDistance)
|
||||
0:46 'gl_ClipDistance' (smooth out 2-element array of float ClipDistance)
|
||||
0:46 Constant:
|
||||
0:46 1 (const int)
|
||||
0:46 Constant:
|
||||
@@ -273,8 +273,8 @@ ERROR: node is still EOpNull!
|
||||
0:57 Function Parameters:
|
||||
0:? Sequence
|
||||
0:61 'id' (temp int)
|
||||
0:63 'gl_ClipVertex' (gl_ClipVertex 4-component vector of float)
|
||||
0:64 'gl_Color' (in 4-component vector of float)
|
||||
0:63 'gl_ClipVertex' (gl_ClipVertex 4-component vector of float ClipVertex)
|
||||
0:64 'gl_Color' (in 4-component vector of float Color)
|
||||
0:65 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:65 '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:65 Constant:
|
||||
@@ -283,9 +283,9 @@ ERROR: node is still EOpNull!
|
||||
0:66 'gl_DepthRange' (uniform structure{global float near, global float far, global float diff})
|
||||
0:66 Constant:
|
||||
0:66 1 (const int)
|
||||
0:67 'gl_TexCoord' (smooth out 1-element array of 4-component vector of float)
|
||||
0:68 'gl_FogFragCoord' (smooth out float)
|
||||
0:69 'gl_FrontColor' (smooth out 4-component vector of float)
|
||||
0:67 'gl_TexCoord' (smooth out 1-element array of 4-component vector of float TexCoord)
|
||||
0:68 'gl_FogFragCoord' (smooth out float FogFragCoord)
|
||||
0:69 'gl_FrontColor' (smooth out 4-component vector of float FrontColor)
|
||||
0:? Linker Objects
|
||||
0:? 'c' (uniform int)
|
||||
0:? 'us2D' (uniform usampler2D)
|
||||
@@ -296,8 +296,8 @@ ERROR: node is still EOpNull!
|
||||
0:? 'c3D' (in 3-component vector of float)
|
||||
0:? 'c4D' (smooth temp 4-component vector of float)
|
||||
0:? 'v4' (uniform 4-component vector of float)
|
||||
0:? 'gl_ClipDistance' (smooth out 2-element array of float)
|
||||
0:? 'gl_TexCoord' (smooth out 1-element array of 4-component vector of float)
|
||||
0:? 'gl_ClipDistance' (smooth out 2-element array of float ClipDistance)
|
||||
0:? 'gl_TexCoord' (smooth out 1-element array of 4-component vector of float TexCoord)
|
||||
0:? 'abc' (global int)
|
||||
0:? 'gl_VertexID' (gl_VertexId int)
|
||||
0:? 'gl_VertexID' (gl_VertexId int VertexId)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user