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:
John Kessenich
2015-05-18 16:45:49 +00:00
parent ca3457f1a7
commit dff18a2be0
105 changed files with 1262 additions and 975 deletions

View File

@@ -86,45 +86,45 @@ ERROR: node is still EOpNull!
0:36 Sequence
0:36 move second child to first child (temp int)
0:36 'pvi' (temp int)
0:36 'gl_PatchVerticesIn' (in int)
0:36 'gl_PatchVerticesIn' (in int PatchVertices)
0:37 Sequence
0:37 move second child to first child (temp int)
0:37 'pid' (temp int)
0:37 'gl_PrimitiveID' (in int)
0:37 'gl_PrimitiveID' (in int PrimitiveID)
0:38 Sequence
0:38 move second child to first child (temp 3-component vector of float)
0:38 'tc' (temp 3-component vector of float)
0:38 'gl_TessCoord' (in 3-component vector of float)
0:38 'gl_TessCoord' (in 3-component vector of float TessCoord)
0:39 Sequence
0:39 move second child to first child (temp float)
0:39 'tlo' (temp float)
0:39 direct index (patch temp float)
0:39 'gl_TessLevelOuter' (patch in 4-element array of float)
0:39 direct index (patch temp float TessLevelOuter)
0:39 'gl_TessLevelOuter' (patch in 4-element array of float TessLevelOuter)
0:39 Constant:
0:39 3 (const int)
0:40 Sequence
0:40 move second child to first child (temp float)
0:40 'tli' (temp float)
0:40 direct index (patch temp float)
0:40 'gl_TessLevelInner' (patch in 2-element array of float)
0:40 direct index (patch temp float TessLevelInner)
0:40 'gl_TessLevelInner' (patch in 2-element array of float TessLevelInner)
0:40 Constant:
0:40 1 (const int)
0:42 move second child to first child (temp 4-component vector of float)
0:42 gl_Position: direct index for structure (gl_Position 4-component vector of float)
0:42 'anon@0' (out block{gl_Position 4-component vector of float gl_Position, gl_PointSize float gl_PointSize, out implicitly-sized array of float gl_ClipDistance})
0:42 gl_Position: direct index for structure (gl_Position 4-component vector of float Position)
0:42 'anon@0' (out block{gl_Position 4-component vector of float Position gl_Position, gl_PointSize float PointSize gl_PointSize, out implicitly-sized array of float ClipDistance gl_ClipDistance})
0:42 Constant:
0:42 0 (const uint)
0:42 'p' (temp 4-component vector of float)
0:43 move second child to first child (temp float)
0:43 gl_PointSize: direct index for structure (gl_PointSize float)
0:43 'anon@0' (out block{gl_Position 4-component vector of float gl_Position, gl_PointSize float gl_PointSize, out implicitly-sized array of float gl_ClipDistance})
0:43 gl_PointSize: direct index for structure (gl_PointSize float PointSize)
0:43 'anon@0' (out block{gl_Position 4-component vector of float Position gl_Position, gl_PointSize float PointSize gl_PointSize, out implicitly-sized array of float ClipDistance gl_ClipDistance})
0:43 Constant:
0:43 1 (const uint)
0:43 'ps' (temp float)
0:44 move second child to first child (temp float)
0:44 direct index (temp float)
0:44 gl_ClipDistance: direct index for structure (out implicitly-sized array of float)
0:44 'anon@0' (out block{gl_Position 4-component vector of float gl_Position, gl_PointSize float gl_PointSize, out implicitly-sized array of float gl_ClipDistance})
0:44 direct index (temp float ClipDistance)
0:44 gl_ClipDistance: direct index for structure (out implicitly-sized array of float ClipDistance)
0:44 'anon@0' (out block{gl_Position 4-component vector of float Position gl_Position, gl_PointSize float PointSize gl_PointSize, out implicitly-sized array of float ClipDistance gl_ClipDistance})
0:44 Constant:
0:44 2 (const uint)
0:44 Constant:
@@ -133,7 +133,7 @@ ERROR: node is still EOpNull!
0:? Linker Objects
0:? 'patchIn' (patch in 4-component vector of float)
0:? 'patchOut' (patch out 4-component vector of float)
0:? 'anon@0' (out block{gl_Position 4-component vector of float gl_Position, gl_PointSize float gl_PointSize, out implicitly-sized array of float gl_ClipDistance})
0:? 'anon@0' (out block{gl_Position 4-component vector of float Position gl_Position, gl_PointSize float PointSize gl_PointSize, out implicitly-sized array of float ClipDistance gl_ClipDistance})
0:? 'badp1' (smooth patch in 4-component vector of float)
0:? 'badp2' (flat patch in 4-component vector of float)
0:? 'badp3' (noperspective patch in 4-component vector of float)
@@ -211,45 +211,45 @@ ERROR: node is still EOpNull!
0:36 Sequence
0:36 move second child to first child (temp int)
0:36 'pvi' (temp int)
0:36 'gl_PatchVerticesIn' (in int)
0:36 'gl_PatchVerticesIn' (in int PatchVertices)
0:37 Sequence
0:37 move second child to first child (temp int)
0:37 'pid' (temp int)
0:37 'gl_PrimitiveID' (in int)
0:37 'gl_PrimitiveID' (in int PrimitiveID)
0:38 Sequence
0:38 move second child to first child (temp 3-component vector of float)
0:38 'tc' (temp 3-component vector of float)
0:38 'gl_TessCoord' (in 3-component vector of float)
0:38 'gl_TessCoord' (in 3-component vector of float TessCoord)
0:39 Sequence
0:39 move second child to first child (temp float)
0:39 'tlo' (temp float)
0:39 direct index (patch temp float)
0:39 'gl_TessLevelOuter' (patch in 4-element array of float)
0:39 direct index (patch temp float TessLevelOuter)
0:39 'gl_TessLevelOuter' (patch in 4-element array of float TessLevelOuter)
0:39 Constant:
0:39 3 (const int)
0:40 Sequence
0:40 move second child to first child (temp float)
0:40 'tli' (temp float)
0:40 direct index (patch temp float)
0:40 'gl_TessLevelInner' (patch in 2-element array of float)
0:40 direct index (patch temp float TessLevelInner)
0:40 'gl_TessLevelInner' (patch in 2-element array of float TessLevelInner)
0:40 Constant:
0:40 1 (const int)
0:42 move second child to first child (temp 4-component vector of float)
0:42 gl_Position: direct index for structure (gl_Position 4-component vector of float)
0:42 'anon@0' (out block{gl_Position 4-component vector of float gl_Position, gl_PointSize float gl_PointSize, out 3-element array of float gl_ClipDistance})
0:42 gl_Position: direct index for structure (gl_Position 4-component vector of float Position)
0:42 'anon@0' (out block{gl_Position 4-component vector of float Position gl_Position, gl_PointSize float PointSize gl_PointSize, out 3-element array of float ClipDistance gl_ClipDistance})
0:42 Constant:
0:42 0 (const uint)
0:42 'p' (temp 4-component vector of float)
0:43 move second child to first child (temp float)
0:43 gl_PointSize: direct index for structure (gl_PointSize float)
0:43 'anon@0' (out block{gl_Position 4-component vector of float gl_Position, gl_PointSize float gl_PointSize, out 3-element array of float gl_ClipDistance})
0:43 gl_PointSize: direct index for structure (gl_PointSize float PointSize)
0:43 'anon@0' (out block{gl_Position 4-component vector of float Position gl_Position, gl_PointSize float PointSize gl_PointSize, out 3-element array of float ClipDistance gl_ClipDistance})
0:43 Constant:
0:43 1 (const uint)
0:43 'ps' (temp float)
0:44 move second child to first child (temp float)
0:44 direct index (temp float)
0:44 gl_ClipDistance: direct index for structure (out 3-element array of float)
0:44 'anon@0' (out block{gl_Position 4-component vector of float gl_Position, gl_PointSize float gl_PointSize, out 3-element array of float gl_ClipDistance})
0:44 direct index (temp float ClipDistance)
0:44 gl_ClipDistance: direct index for structure (out 3-element array of float ClipDistance)
0:44 'anon@0' (out block{gl_Position 4-component vector of float Position gl_Position, gl_PointSize float PointSize gl_PointSize, out 3-element array of float ClipDistance gl_ClipDistance})
0:44 Constant:
0:44 2 (const uint)
0:44 Constant:
@@ -258,7 +258,7 @@ ERROR: node is still EOpNull!
0:? Linker Objects
0:? 'patchIn' (patch in 4-component vector of float)
0:? 'patchOut' (patch out 4-component vector of float)
0:? 'anon@0' (out block{gl_Position 4-component vector of float gl_Position, gl_PointSize float gl_PointSize, out 3-element array of float gl_ClipDistance})
0:? 'anon@0' (out block{gl_Position 4-component vector of float Position gl_Position, gl_PointSize float PointSize gl_PointSize, out 3-element array of float ClipDistance gl_ClipDistance})
0:? 'badp1' (smooth patch in 4-component vector of float)
0:? 'badp2' (flat patch in 4-component vector of float)
0:? 'badp3' (noperspective patch in 4-component vector of float)