HLSL: Allow use of $Global members in between function calls.
This allows global initializers to use $Global members.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
float4 a;
|
||||
float b;
|
||||
|
||||
static float4 m = a * b;
|
||||
void f1()
|
||||
{
|
||||
a * b;
|
||||
|
||||
Reference in New Issue
Block a user