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:
@@ -66,17 +66,17 @@ ERROR: node is still EOpNull!
|
||||
0:32 Constant:
|
||||
0:32 0 (const int)
|
||||
0:33 move second child to first child (temp float)
|
||||
0:33 direct index (layout(stream=0 ) temp float)
|
||||
0:33 gl_ClipDistance: direct index for structure (layout(stream=0 ) out implicitly-sized array of float)
|
||||
0:33 'anon@1' (layout(stream=0 ) out block{layout(stream=0 ) gl_Position 4-component vector of float gl_Position, layout(stream=0 ) gl_PointSize float gl_PointSize, layout(stream=0 ) out implicitly-sized array of float gl_ClipDistance})
|
||||
0:33 direct index (layout(stream=0 ) temp float ClipDistance)
|
||||
0:33 gl_ClipDistance: direct index for structure (layout(stream=0 ) out implicitly-sized array of float ClipDistance)
|
||||
0:33 'anon@1' (layout(stream=0 ) out block{layout(stream=0 ) gl_Position 4-component vector of float Position gl_Position, layout(stream=0 ) gl_PointSize float PointSize gl_PointSize, layout(stream=0 ) out implicitly-sized array of float ClipDistance gl_ClipDistance})
|
||||
0:33 Constant:
|
||||
0:33 2 (const uint)
|
||||
0:33 Constant:
|
||||
0:33 3 (const int)
|
||||
0:33 direct index (temp float)
|
||||
0:33 gl_ClipDistance: direct index for structure (in implicitly-sized array of float)
|
||||
0:33 direct index (temp block{in 4-component vector of float gl_Position, in float gl_PointSize, in implicitly-sized array of float gl_ClipDistance})
|
||||
0:33 'gl_in' (in 4-element array of block{in 4-component vector of float gl_Position, in float gl_PointSize, in implicitly-sized array of float gl_ClipDistance})
|
||||
0:33 direct index (temp float ClipDistance)
|
||||
0:33 gl_ClipDistance: direct index for structure (in implicitly-sized array of float ClipDistance)
|
||||
0:33 direct index (temp block{in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in implicitly-sized array of float ClipDistance gl_ClipDistance})
|
||||
0:33 'gl_in' (in 4-element array of block{in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in implicitly-sized array of float ClipDistance gl_ClipDistance})
|
||||
0:33 Constant:
|
||||
0:33 1 (const int)
|
||||
0:33 Constant:
|
||||
@@ -84,34 +84,34 @@ ERROR: node is still EOpNull!
|
||||
0:33 Constant:
|
||||
0:33 2 (const int)
|
||||
0:34 move second child to first child (temp 4-component vector of float)
|
||||
0:34 gl_Position: direct index for structure (layout(stream=0 ) gl_Position 4-component vector of float)
|
||||
0:34 'anon@1' (layout(stream=0 ) out block{layout(stream=0 ) gl_Position 4-component vector of float gl_Position, layout(stream=0 ) gl_PointSize float gl_PointSize, layout(stream=0 ) out implicitly-sized array of float gl_ClipDistance})
|
||||
0:34 gl_Position: direct index for structure (layout(stream=0 ) gl_Position 4-component vector of float Position)
|
||||
0:34 'anon@1' (layout(stream=0 ) out block{layout(stream=0 ) gl_Position 4-component vector of float Position gl_Position, layout(stream=0 ) gl_PointSize float PointSize gl_PointSize, layout(stream=0 ) out implicitly-sized array of float ClipDistance gl_ClipDistance})
|
||||
0:34 Constant:
|
||||
0:34 0 (const uint)
|
||||
0:34 gl_Position: direct index for structure (in 4-component vector of float)
|
||||
0:34 direct index (temp block{in 4-component vector of float gl_Position, in float gl_PointSize, in implicitly-sized array of float gl_ClipDistance})
|
||||
0:34 'gl_in' (in 4-element array of block{in 4-component vector of float gl_Position, in float gl_PointSize, in implicitly-sized array of float gl_ClipDistance})
|
||||
0:34 gl_Position: direct index for structure (in 4-component vector of float Position)
|
||||
0:34 direct index (temp block{in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in implicitly-sized array of float ClipDistance gl_ClipDistance})
|
||||
0:34 'gl_in' (in 4-element array of block{in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in implicitly-sized array of float ClipDistance gl_ClipDistance})
|
||||
0:34 Constant:
|
||||
0:34 0 (const int)
|
||||
0:34 Constant:
|
||||
0:34 0 (const int)
|
||||
0:35 move second child to first child (temp float)
|
||||
0:35 gl_PointSize: direct index for structure (layout(stream=0 ) gl_PointSize float)
|
||||
0:35 'anon@1' (layout(stream=0 ) out block{layout(stream=0 ) gl_Position 4-component vector of float gl_Position, layout(stream=0 ) gl_PointSize float gl_PointSize, layout(stream=0 ) out implicitly-sized array of float gl_ClipDistance})
|
||||
0:35 gl_PointSize: direct index for structure (layout(stream=0 ) gl_PointSize float PointSize)
|
||||
0:35 'anon@1' (layout(stream=0 ) out block{layout(stream=0 ) gl_Position 4-component vector of float Position gl_Position, layout(stream=0 ) gl_PointSize float PointSize gl_PointSize, layout(stream=0 ) out implicitly-sized array of float ClipDistance gl_ClipDistance})
|
||||
0:35 Constant:
|
||||
0:35 1 (const uint)
|
||||
0:35 gl_PointSize: direct index for structure (in float)
|
||||
0:35 direct index (temp block{in 4-component vector of float gl_Position, in float gl_PointSize, in implicitly-sized array of float gl_ClipDistance})
|
||||
0:35 'gl_in' (in 4-element array of block{in 4-component vector of float gl_Position, in float gl_PointSize, in implicitly-sized array of float gl_ClipDistance})
|
||||
0:35 gl_PointSize: direct index for structure (in float PointSize)
|
||||
0:35 direct index (temp block{in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in implicitly-sized array of float ClipDistance gl_ClipDistance})
|
||||
0:35 'gl_in' (in 4-element array of block{in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in implicitly-sized array of float ClipDistance gl_ClipDistance})
|
||||
0:35 Constant:
|
||||
0:35 3 (const int)
|
||||
0:35 Constant:
|
||||
0:35 1 (const int)
|
||||
0:36 move second child to first child (temp int)
|
||||
0:36 'gl_PrimitiveID' (layout(stream=0 ) out int)
|
||||
0:36 'gl_PrimitiveID' (layout(stream=0 ) out int PrimitiveID)
|
||||
0:36 'gl_PrimitiveIDIn' (in int)
|
||||
0:37 move second child to first child (temp int)
|
||||
0:37 'gl_Layer' (layout(stream=0 ) out int)
|
||||
0:37 'gl_Layer' (layout(stream=0 ) out int Layer)
|
||||
0:37 Constant:
|
||||
0:37 2 (const int)
|
||||
0:67 Function Definition: foo(i1; (global void)
|
||||
@@ -137,22 +137,22 @@ ERROR: node is still EOpNull!
|
||||
0:127 Function Parameters:
|
||||
0:129 Sequence
|
||||
0:129 move second child to first child (temp int)
|
||||
0:129 'gl_ViewportIndex' (layout(stream=0 ) out int)
|
||||
0:129 'gl_ViewportIndex' (layout(stream=0 ) out int ViewportIndex)
|
||||
0:129 Constant:
|
||||
0:129 15 (const int)
|
||||
0:134 Function Definition: fooe2( (global void)
|
||||
0:134 Function Parameters:
|
||||
0:136 Sequence
|
||||
0:136 move second child to first child (temp int)
|
||||
0:136 'gl_ViewportIndex' (layout(stream=0 ) out int)
|
||||
0:136 'gl_ViewportIndex' (layout(stream=0 ) out int ViewportIndex)
|
||||
0:136 Constant:
|
||||
0:136 15 (const int)
|
||||
0:? Linker Objects
|
||||
0:? 'fromV' (in 4-element array of block{in 3-component vector of float color})
|
||||
0:? 'toF' (layout(stream=0 ) out block{layout(stream=0 ) out 3-component vector of float color})
|
||||
0:? 'anon@0' (layout(stream=0 ) out block{layout(stream=0 ) out 3-component vector of float color})
|
||||
0:? 'anon@1' (layout(stream=0 ) out block{layout(stream=0 ) gl_Position 4-component vector of float gl_Position, layout(stream=0 ) gl_PointSize float gl_PointSize, layout(stream=0 ) out implicitly-sized array of float gl_ClipDistance})
|
||||
0:? 'gl_in' (in 4-element array of block{in 4-component vector of float gl_Position, in float gl_PointSize, in implicitly-sized array of float gl_ClipDistance})
|
||||
0:? 'anon@1' (layout(stream=0 ) out block{layout(stream=0 ) gl_Position 4-component vector of float Position gl_Position, layout(stream=0 ) gl_PointSize float PointSize gl_PointSize, layout(stream=0 ) out implicitly-sized array of float ClipDistance gl_ClipDistance})
|
||||
0:? 'gl_in' (in 4-element array of block{in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in implicitly-sized array of float ClipDistance gl_ClipDistance})
|
||||
0:? 'ov0' (layout(stream=0 ) out 4-component vector of float)
|
||||
0:? 'ov4' (layout(stream=4 ) out 4-component vector of float)
|
||||
0:? 'o1v0' (layout(stream=0 ) out 4-component vector of float)
|
||||
@@ -207,17 +207,17 @@ ERROR: node is still EOpNull!
|
||||
0:32 Constant:
|
||||
0:32 0 (const int)
|
||||
0:33 move second child to first child (temp float)
|
||||
0:33 direct index (layout(stream=0 ) temp float)
|
||||
0:33 gl_ClipDistance: direct index for structure (layout(stream=0 ) out 4-element array of float)
|
||||
0:33 'anon@1' (layout(stream=0 ) out block{layout(stream=0 ) gl_Position 4-component vector of float gl_Position, layout(stream=0 ) gl_PointSize float gl_PointSize, layout(stream=0 ) out 4-element array of float gl_ClipDistance})
|
||||
0:33 direct index (layout(stream=0 ) temp float ClipDistance)
|
||||
0:33 gl_ClipDistance: direct index for structure (layout(stream=0 ) out 4-element array of float ClipDistance)
|
||||
0:33 'anon@1' (layout(stream=0 ) out block{layout(stream=0 ) gl_Position 4-component vector of float Position gl_Position, layout(stream=0 ) gl_PointSize float PointSize gl_PointSize, layout(stream=0 ) out 4-element array of float ClipDistance gl_ClipDistance})
|
||||
0:33 Constant:
|
||||
0:33 2 (const uint)
|
||||
0:33 Constant:
|
||||
0:33 3 (const int)
|
||||
0:33 direct index (temp float)
|
||||
0:33 gl_ClipDistance: direct index for structure (in 1-element array of float)
|
||||
0:33 direct index (temp block{in 4-component vector of float gl_Position, in float gl_PointSize, in 1-element array of float gl_ClipDistance})
|
||||
0:33 'gl_in' (in 4-element array of block{in 4-component vector of float gl_Position, in float gl_PointSize, in 1-element array of float gl_ClipDistance})
|
||||
0:33 direct index (temp float ClipDistance)
|
||||
0:33 gl_ClipDistance: direct index for structure (in 1-element array of float ClipDistance)
|
||||
0:33 direct index (temp block{in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in 1-element array of float ClipDistance gl_ClipDistance})
|
||||
0:33 'gl_in' (in 4-element array of block{in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in 1-element array of float ClipDistance gl_ClipDistance})
|
||||
0:33 Constant:
|
||||
0:33 1 (const int)
|
||||
0:33 Constant:
|
||||
@@ -225,34 +225,34 @@ ERROR: node is still EOpNull!
|
||||
0:33 Constant:
|
||||
0:33 2 (const int)
|
||||
0:34 move second child to first child (temp 4-component vector of float)
|
||||
0:34 gl_Position: direct index for structure (layout(stream=0 ) gl_Position 4-component vector of float)
|
||||
0:34 'anon@1' (layout(stream=0 ) out block{layout(stream=0 ) gl_Position 4-component vector of float gl_Position, layout(stream=0 ) gl_PointSize float gl_PointSize, layout(stream=0 ) out 4-element array of float gl_ClipDistance})
|
||||
0:34 gl_Position: direct index for structure (layout(stream=0 ) gl_Position 4-component vector of float Position)
|
||||
0:34 'anon@1' (layout(stream=0 ) out block{layout(stream=0 ) gl_Position 4-component vector of float Position gl_Position, layout(stream=0 ) gl_PointSize float PointSize gl_PointSize, layout(stream=0 ) out 4-element array of float ClipDistance gl_ClipDistance})
|
||||
0:34 Constant:
|
||||
0:34 0 (const uint)
|
||||
0:34 gl_Position: direct index for structure (in 4-component vector of float)
|
||||
0:34 direct index (temp block{in 4-component vector of float gl_Position, in float gl_PointSize, in 1-element array of float gl_ClipDistance})
|
||||
0:34 'gl_in' (in 4-element array of block{in 4-component vector of float gl_Position, in float gl_PointSize, in 1-element array of float gl_ClipDistance})
|
||||
0:34 gl_Position: direct index for structure (in 4-component vector of float Position)
|
||||
0:34 direct index (temp block{in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in 1-element array of float ClipDistance gl_ClipDistance})
|
||||
0:34 'gl_in' (in 4-element array of block{in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in 1-element array of float ClipDistance gl_ClipDistance})
|
||||
0:34 Constant:
|
||||
0:34 0 (const int)
|
||||
0:34 Constant:
|
||||
0:34 0 (const int)
|
||||
0:35 move second child to first child (temp float)
|
||||
0:35 gl_PointSize: direct index for structure (layout(stream=0 ) gl_PointSize float)
|
||||
0:35 'anon@1' (layout(stream=0 ) out block{layout(stream=0 ) gl_Position 4-component vector of float gl_Position, layout(stream=0 ) gl_PointSize float gl_PointSize, layout(stream=0 ) out 4-element array of float gl_ClipDistance})
|
||||
0:35 gl_PointSize: direct index for structure (layout(stream=0 ) gl_PointSize float PointSize)
|
||||
0:35 'anon@1' (layout(stream=0 ) out block{layout(stream=0 ) gl_Position 4-component vector of float Position gl_Position, layout(stream=0 ) gl_PointSize float PointSize gl_PointSize, layout(stream=0 ) out 4-element array of float ClipDistance gl_ClipDistance})
|
||||
0:35 Constant:
|
||||
0:35 1 (const uint)
|
||||
0:35 gl_PointSize: direct index for structure (in float)
|
||||
0:35 direct index (temp block{in 4-component vector of float gl_Position, in float gl_PointSize, in 1-element array of float gl_ClipDistance})
|
||||
0:35 'gl_in' (in 4-element array of block{in 4-component vector of float gl_Position, in float gl_PointSize, in 1-element array of float gl_ClipDistance})
|
||||
0:35 gl_PointSize: direct index for structure (in float PointSize)
|
||||
0:35 direct index (temp block{in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in 1-element array of float ClipDistance gl_ClipDistance})
|
||||
0:35 'gl_in' (in 4-element array of block{in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in 1-element array of float ClipDistance gl_ClipDistance})
|
||||
0:35 Constant:
|
||||
0:35 3 (const int)
|
||||
0:35 Constant:
|
||||
0:35 1 (const int)
|
||||
0:36 move second child to first child (temp int)
|
||||
0:36 'gl_PrimitiveID' (layout(stream=0 ) out int)
|
||||
0:36 'gl_PrimitiveID' (layout(stream=0 ) out int PrimitiveID)
|
||||
0:36 'gl_PrimitiveIDIn' (in int)
|
||||
0:37 move second child to first child (temp int)
|
||||
0:37 'gl_Layer' (layout(stream=0 ) out int)
|
||||
0:37 'gl_Layer' (layout(stream=0 ) out int Layer)
|
||||
0:37 Constant:
|
||||
0:37 2 (const int)
|
||||
0:67 Function Definition: foo(i1; (global void)
|
||||
@@ -278,22 +278,22 @@ ERROR: node is still EOpNull!
|
||||
0:127 Function Parameters:
|
||||
0:129 Sequence
|
||||
0:129 move second child to first child (temp int)
|
||||
0:129 'gl_ViewportIndex' (layout(stream=0 ) out int)
|
||||
0:129 'gl_ViewportIndex' (layout(stream=0 ) out int ViewportIndex)
|
||||
0:129 Constant:
|
||||
0:129 15 (const int)
|
||||
0:134 Function Definition: fooe2( (global void)
|
||||
0:134 Function Parameters:
|
||||
0:136 Sequence
|
||||
0:136 move second child to first child (temp int)
|
||||
0:136 'gl_ViewportIndex' (layout(stream=0 ) out int)
|
||||
0:136 'gl_ViewportIndex' (layout(stream=0 ) out int ViewportIndex)
|
||||
0:136 Constant:
|
||||
0:136 15 (const int)
|
||||
0:? Linker Objects
|
||||
0:? 'fromV' (in 4-element array of block{in 3-component vector of float color})
|
||||
0:? 'toF' (layout(stream=0 ) out block{layout(stream=0 ) out 3-component vector of float color})
|
||||
0:? 'anon@0' (layout(stream=0 ) out block{layout(stream=0 ) out 3-component vector of float color})
|
||||
0:? 'anon@1' (layout(stream=0 ) out block{layout(stream=0 ) gl_Position 4-component vector of float gl_Position, layout(stream=0 ) gl_PointSize float gl_PointSize, layout(stream=0 ) out 4-element array of float gl_ClipDistance})
|
||||
0:? 'gl_in' (in 4-element array of block{in 4-component vector of float gl_Position, in float gl_PointSize, in 1-element array of float gl_ClipDistance})
|
||||
0:? 'anon@1' (layout(stream=0 ) out block{layout(stream=0 ) gl_Position 4-component vector of float Position gl_Position, layout(stream=0 ) gl_PointSize float PointSize gl_PointSize, layout(stream=0 ) out 4-element array of float ClipDistance gl_ClipDistance})
|
||||
0:? 'gl_in' (in 4-element array of block{in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in 1-element array of float ClipDistance gl_ClipDistance})
|
||||
0:? 'ov0' (layout(stream=0 ) out 4-component vector of float)
|
||||
0:? 'ov4' (layout(stream=4 ) out 4-component vector of float)
|
||||
0:? 'o1v0' (layout(stream=0 ) out 4-component vector of float)
|
||||
|
||||
Reference in New Issue
Block a user