HLSL: Allow use of $Global members in between function calls.
This allows global initializers to use $Global members.
This commit is contained in:
parent
7a41f96d10
commit
000c818efb
53 changed files with 4566 additions and 4558 deletions
|
|
@ -29,8 +29,8 @@ gl_FragCoord origin is upper left
|
|||
0:16 0 (const int)
|
||||
0:? Linker Objects
|
||||
0:? 'TestTexture' ( uniform texture2D)
|
||||
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float TestUF})
|
||||
0:? 'Color' (layout( location=0) out 4-component vector of float)
|
||||
0:? 'anon@0' (layout( row_major std140) uniform block{layout( offset=0) uniform 4-component vector of float TestUF})
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
|
|
@ -66,8 +66,8 @@ gl_FragCoord origin is upper left
|
|||
0:16 0 (const int)
|
||||
0:? Linker Objects
|
||||
0:? 'TestTexture' ( uniform texture2D)
|
||||
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float TestUF})
|
||||
0:? 'Color' (layout( location=0) out 4-component vector of float)
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue