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
|
|
@ -25,9 +25,9 @@ gl_FragCoord origin is upper left
|
|||
0:19 0 (const int)
|
||||
0:19 Branch: Return
|
||||
0:? Linker Objects
|
||||
0:? 'TestTexture' (uniform texture2D)
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:? 'anon@0' (uniform block{layout(offset=0 ) uniform 4-component vector of float TestUF})
|
||||
0:? 'TestTexture' (uniform texture2D)
|
||||
0:? 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform 4-component vector of float TestUF})
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
|
|
@ -59,9 +59,9 @@ gl_FragCoord origin is upper left
|
|||
0:19 0 (const int)
|
||||
0:19 Branch: Return
|
||||
0:? Linker Objects
|
||||
0:? 'TestTexture' (uniform texture2D)
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:? 'anon@0' (uniform block{layout(offset=0 ) uniform 4-component vector of float TestUF})
|
||||
0:? 'TestTexture' (uniform texture2D)
|
||||
0:? 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform 4-component vector of float TestUF})
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
|
|
@ -83,6 +83,7 @@ gl_FragCoord origin is upper left
|
|||
Name 28 ""
|
||||
Decorate 19(Color) Location 0
|
||||
Decorate 25(TestTexture) DescriptorSet 0
|
||||
MemberDecorate 26($Global) 0 Offset 0
|
||||
Decorate 26($Global) Block
|
||||
Decorate 28 DescriptorSet 0
|
||||
2: TypeVoid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue