glslang/Test/hlsl.amend.frag
John Kessenich 000c818efb HLSL: Allow use of $Global members in between function calls.
This allows global initializers to use $Global members.
2017-03-22 23:21:34 -06:00

28 lines
177 B
GLSL
Executable File

float4 a;
float b;
static float4 m = a * b;
void f1()
{
a * b;
}
float3 c;
void f2()
{
a.x + b + c.x;
}
void f3()
{
c;
}
int d;
void f4()
{
d * a;
}
int e;