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:
parent
e5e58cfee3
commit
d3f1122a44
107 changed files with 630 additions and 560 deletions
|
|
@ -1945,6 +1945,7 @@ gl_FragCoord origin is upper left
|
|||
0:243 0 (const int)
|
||||
0:243 Branch: Return
|
||||
0:? Linker Objects
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:? 'g_sSamp' (uniform sampler)
|
||||
0:? 'g_tTex1df1' (layout(r32f ) uniform image1D)
|
||||
0:? 'g_tTex1di1' (layout(r32i ) uniform iimage1D)
|
||||
|
|
@ -1964,8 +1965,7 @@ gl_FragCoord origin is upper left
|
|||
0:? 'g_tBuffF' (layout(r32f ) uniform imageBuffer)
|
||||
0:? 'g_tBuffI' (layout(r32i ) uniform iimageBuffer)
|
||||
0:? 'g_tBuffU' (layout(r32ui ) uniform uimageBuffer)
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:? 'anon@0' (uniform block{layout(offset=0 ) uniform uint u1, layout(offset=8 ) uniform 2-component vector of uint u2, layout(offset=16 ) uniform 3-component vector of uint u3, layout(offset=28 ) uniform uint u1b, layout(offset=32 ) uniform uint u1c, layout(offset=36 ) uniform int i1, layout(offset=40 ) uniform 2-component vector of int i2, layout(offset=48 ) uniform 3-component vector of int i3, layout(offset=60 ) uniform int i1b, layout(offset=64 ) uniform int i1c})
|
||||
0:? 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform uint u1, layout(offset=8 ) uniform 2-component vector of uint u2, layout(offset=16 ) uniform 3-component vector of uint u3, layout(offset=28 ) uniform uint u1b, layout(offset=32 ) uniform uint u1c, layout(offset=36 ) uniform int i1, layout(offset=40 ) uniform 2-component vector of int i2, layout(offset=48 ) uniform 3-component vector of int i3, layout(offset=60 ) uniform int i1b, layout(offset=64 ) uniform int i1c})
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
|
|
@ -3917,6 +3917,7 @@ gl_FragCoord origin is upper left
|
|||
0:243 0 (const int)
|
||||
0:243 Branch: Return
|
||||
0:? Linker Objects
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:? 'g_sSamp' (uniform sampler)
|
||||
0:? 'g_tTex1df1' (layout(r32f ) uniform image1D)
|
||||
0:? 'g_tTex1di1' (layout(r32i ) uniform iimage1D)
|
||||
|
|
@ -3936,8 +3937,7 @@ gl_FragCoord origin is upper left
|
|||
0:? 'g_tBuffF' (layout(r32f ) uniform imageBuffer)
|
||||
0:? 'g_tBuffI' (layout(r32i ) uniform iimageBuffer)
|
||||
0:? 'g_tBuffU' (layout(r32ui ) uniform uimageBuffer)
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:? 'anon@0' (uniform block{layout(offset=0 ) uniform uint u1, layout(offset=8 ) uniform 2-component vector of uint u2, layout(offset=16 ) uniform 3-component vector of uint u3, layout(offset=28 ) uniform uint u1b, layout(offset=32 ) uniform uint u1c, layout(offset=36 ) uniform int i1, layout(offset=40 ) uniform 2-component vector of int i2, layout(offset=48 ) uniform 3-component vector of int i3, layout(offset=60 ) uniform int i1b, layout(offset=64 ) uniform int i1c})
|
||||
0:? 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform uint u1, layout(offset=8 ) uniform 2-component vector of uint u2, layout(offset=16 ) uniform 3-component vector of uint u3, layout(offset=28 ) uniform uint u1b, layout(offset=32 ) uniform uint u1c, layout(offset=36 ) uniform int i1, layout(offset=40 ) uniform 2-component vector of int i2, layout(offset=48 ) uniform 3-component vector of int i3, layout(offset=60 ) uniform int i1b, layout(offset=64 ) uniform int i1c})
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue