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
|
|
@ -1,6 +1,6 @@
|
|||
float4 a;
|
||||
float b;
|
||||
|
||||
static float4 m = a * b;
|
||||
void f1()
|
||||
{
|
||||
a * b;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue