Whole stack: Fix stale types in the AST linker object nodes, fixing #557.

Rationalizes the entire tracking of the linker object nodes, effecting
GLSL, HLSL, and SPIR-V, to allow tracked objects to be fully edited before
their type snapshot for linker objects.

Should only effect things when the rest of the AST contained no reference to
the symbol, because normal AST nodes were not stale. Also will only effect such
objects when their types were edited.
This commit is contained in:
John Kessenich
2016-11-05 10:15:53 -06:00
parent e5e58cfee3
commit d3f1122a44
107 changed files with 630 additions and 560 deletions

View File

@@ -124,10 +124,7 @@ ERROR: node is still EOpNull!
0:? 'locBad' (layout(location=9 ) in 4-component vector of float)
0:? 'loc' (layout(location=9 ) in 4-component vector of float)
0:? 'gl_PointSize' (gl_PointSize float PointSize)
0:? 'gl_PointSize' (gl_PointSize float PointSize)
0:? 'gl_ClipVertex' (gl_ClipVertex 4-component vector of float ClipVertex)
0:? 'gl_ClipVertex' (gl_ClipVertex 4-component vector of float ClipVertex)
0:? 'gl_FogFragCoord' (smooth out float FogFragCoord)
0:? 'gl_FogFragCoord' (smooth out float FogFragCoord)
0:? 's2dr' (uniform sampler2DRect)
0:? 's2drs' (uniform sampler2DRectShadow)
@@ -254,10 +251,7 @@ ERROR: node is still EOpNull!
0:? 'locBad' (layout(location=9 ) in 4-component vector of float)
0:? 'loc' (layout(location=9 ) in 4-component vector of float)
0:? 'gl_PointSize' (gl_PointSize float PointSize)
0:? 'gl_PointSize' (gl_PointSize float PointSize)
0:? 'gl_ClipVertex' (gl_ClipVertex 4-component vector of float ClipVertex)
0:? 'gl_ClipVertex' (gl_ClipVertex 4-component vector of float ClipVertex)
0:? 'gl_FogFragCoord' (smooth out float FogFragCoord)
0:? 'gl_FogFragCoord' (smooth out float FogFragCoord)
0:? 's2dr' (uniform sampler2DRect)
0:? 's2drs' (uniform sampler2DRectShadow)