Fix bug where an anonymous member of a built-in block containing another member with an implicitly-sized array caused two copies of the block to be referenced.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26633 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -126,7 +126,7 @@ ERROR: node is still EOpNull!
|
||||
0:65 0.050000
|
||||
0:69 move second child to first child (4-component vector of float)
|
||||
0:69 gl_Position: direct index for structure (gl_Position 4-component vector of float)
|
||||
0:69 'anon@1' (out block{gl_Position 4-component vector of float gl_Position, gl_PointSize float gl_PointSize, out implicitly-sized array of float gl_ClipDistance, gl_ClipVertex 4-component vector of float gl_ClipVertex, out 4-component vector of float gl_FrontColor, out 4-component vector of float gl_BackColor, out 4-component vector of float gl_FrontSecondaryColor, out 4-component vector of float gl_BackSecondaryColor, out implicitly-sized array of 4-component vector of float gl_TexCoord, out float gl_FogFragCoord})
|
||||
0:69 '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, gl_ClipVertex 4-component vector of float gl_ClipVertex, out 4-component vector of float gl_FrontColor, out 4-component vector of float gl_BackColor, out 4-component vector of float gl_FrontSecondaryColor, out 4-component vector of float gl_BackSecondaryColor, out implicitly-sized array of 4-component vector of float gl_TexCoord, out float gl_FogFragCoord})
|
||||
0:69 Constant:
|
||||
0:69 0 (const uint)
|
||||
0:69 Construct vec4 (4-component vector of float)
|
||||
@@ -166,7 +166,7 @@ ERROR: node is still EOpNull!
|
||||
12:20034 Sequence
|
||||
12:20034 move second child to first child (4-component vector of float)
|
||||
12:20034 gl_Position: direct index for structure (gl_Position 4-component vector of float)
|
||||
12:20034 'anon@1' (out block{gl_Position 4-component vector of float gl_Position, gl_PointSize float gl_PointSize, out implicitly-sized array of float gl_ClipDistance, gl_ClipVertex 4-component vector of float gl_ClipVertex, out 4-component vector of float gl_FrontColor, out 4-component vector of float gl_BackColor, out 4-component vector of float gl_FrontSecondaryColor, out 4-component vector of float gl_BackSecondaryColor, out implicitly-sized array of 4-component vector of float gl_TexCoord, out float gl_FogFragCoord})
|
||||
12:20034 '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, gl_ClipVertex 4-component vector of float gl_ClipVertex, out 4-component vector of float gl_FrontColor, out 4-component vector of float gl_BackColor, out 4-component vector of float gl_FrontSecondaryColor, out 4-component vector of float gl_BackSecondaryColor, out implicitly-sized array of 4-component vector of float gl_TexCoord, out float gl_FogFragCoord})
|
||||
12:20034 Constant:
|
||||
12:20034 0 (const uint)
|
||||
12:20034 Constant:
|
||||
@@ -180,6 +180,7 @@ ERROR: node is still EOpNull!
|
||||
12:9012 'RECURSE' (int)
|
||||
0:? Linker Objects
|
||||
0:? 'sum' (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, gl_ClipVertex 4-component vector of float gl_ClipVertex, out 4-component vector of float gl_FrontColor, out 4-component vector of float gl_BackColor, out 4-component vector of float gl_FrontSecondaryColor, out 4-component vector of float gl_BackSecondaryColor, out implicitly-sized array of 4-component vector of float gl_TexCoord, out float gl_FogFragCoord})
|
||||
0:? 'linenumber' (int)
|
||||
0:? 'filenumber' (int)
|
||||
0:? 'version' (int)
|
||||
@@ -237,7 +238,7 @@ ERROR: node is still EOpNull!
|
||||
0:65 0.050000
|
||||
0:69 move second child to first child (4-component vector of float)
|
||||
0:69 gl_Position: direct index for structure (gl_Position 4-component vector of float)
|
||||
0:69 'anon@1' (out block{gl_Position 4-component vector of float gl_Position, gl_PointSize float gl_PointSize, out 1-element array of float gl_ClipDistance, gl_ClipVertex 4-component vector of float gl_ClipVertex, out 4-component vector of float gl_FrontColor, out 4-component vector of float gl_BackColor, out 4-component vector of float gl_FrontSecondaryColor, out 4-component vector of float gl_BackSecondaryColor, out 1-element array of 4-component vector of float gl_TexCoord, out float gl_FogFragCoord})
|
||||
0:69 'anon@0' (out block{gl_Position 4-component vector of float gl_Position, gl_PointSize float gl_PointSize, out 1-element array of float gl_ClipDistance, gl_ClipVertex 4-component vector of float gl_ClipVertex, out 4-component vector of float gl_FrontColor, out 4-component vector of float gl_BackColor, out 4-component vector of float gl_FrontSecondaryColor, out 4-component vector of float gl_BackSecondaryColor, out 1-element array of 4-component vector of float gl_TexCoord, out float gl_FogFragCoord})
|
||||
0:69 Constant:
|
||||
0:69 0 (const uint)
|
||||
0:69 Construct vec4 (4-component vector of float)
|
||||
@@ -277,7 +278,7 @@ ERROR: node is still EOpNull!
|
||||
12:20034 Sequence
|
||||
12:20034 move second child to first child (4-component vector of float)
|
||||
12:20034 gl_Position: direct index for structure (gl_Position 4-component vector of float)
|
||||
12:20034 'anon@1' (out block{gl_Position 4-component vector of float gl_Position, gl_PointSize float gl_PointSize, out 1-element array of float gl_ClipDistance, gl_ClipVertex 4-component vector of float gl_ClipVertex, out 4-component vector of float gl_FrontColor, out 4-component vector of float gl_BackColor, out 4-component vector of float gl_FrontSecondaryColor, out 4-component vector of float gl_BackSecondaryColor, out 1-element array of 4-component vector of float gl_TexCoord, out float gl_FogFragCoord})
|
||||
12:20034 'anon@0' (out block{gl_Position 4-component vector of float gl_Position, gl_PointSize float gl_PointSize, out 1-element array of float gl_ClipDistance, gl_ClipVertex 4-component vector of float gl_ClipVertex, out 4-component vector of float gl_FrontColor, out 4-component vector of float gl_BackColor, out 4-component vector of float gl_FrontSecondaryColor, out 4-component vector of float gl_BackSecondaryColor, out 1-element array of 4-component vector of float gl_TexCoord, out float gl_FogFragCoord})
|
||||
12:20034 Constant:
|
||||
12:20034 0 (const uint)
|
||||
12:20034 Constant:
|
||||
@@ -291,6 +292,7 @@ ERROR: node is still EOpNull!
|
||||
12:9012 'RECURSE' (int)
|
||||
0:? Linker Objects
|
||||
0:? 'sum' (float)
|
||||
0:? 'anon@0' (out block{gl_Position 4-component vector of float gl_Position, gl_PointSize float gl_PointSize, out 1-element array of float gl_ClipDistance, gl_ClipVertex 4-component vector of float gl_ClipVertex, out 4-component vector of float gl_FrontColor, out 4-component vector of float gl_BackColor, out 4-component vector of float gl_FrontSecondaryColor, out 4-component vector of float gl_BackSecondaryColor, out 1-element array of 4-component vector of float gl_TexCoord, out float gl_FogFragCoord})
|
||||
0:? 'linenumber' (int)
|
||||
0:? 'filenumber' (int)
|
||||
0:? 'version' (int)
|
||||
|
||||
Reference in New Issue
Block a user