HLSL: Allow use of $Global members in between function calls.
This allows global initializers to use $Global members.
This commit is contained in:
@@ -125,7 +125,7 @@ gl_FragCoord origin is upper left
|
||||
0:30 Constant:
|
||||
0:30 0 (const int)
|
||||
0:? Linker Objects
|
||||
0:? 'anon@0' (layout( row_major std140) uniform block{layout( offset=0) uniform 4-component vector of float uf4})
|
||||
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float uf4})
|
||||
0:? 'Color' (layout( location=0) out 4-component vector of float)
|
||||
|
||||
|
||||
@@ -258,7 +258,7 @@ gl_FragCoord origin is upper left
|
||||
0:30 Constant:
|
||||
0:30 0 (const int)
|
||||
0:? Linker Objects
|
||||
0:? 'anon@0' (layout( row_major std140) uniform block{layout( offset=0) uniform 4-component vector of float uf4})
|
||||
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float uf4})
|
||||
0:? 'Color' (layout( location=0) out 4-component vector of float)
|
||||
|
||||
// Module Version 10000
|
||||
|
||||
Reference in New Issue
Block a user