You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
307 B
15 lines
307 B
7 months ago
|
/*#pragma settings NoInline*/
|
||
|
|
||
|
const float gInitialized = -1.0;
|
||
|
float gInitializedFromOther = -gInitialized;
|
||
|
float gUninitialized;
|
||
|
|
||
|
void init_globals() {
|
||
|
gUninitialized = gInitialized + 2;
|
||
|
}
|
||
|
|
||
|
float4 main(float2 xy) {
|
||
|
init_globals();
|
||
|
return float4(0, gInitializedFromOther, 0, gUninitialized);
|
||
|
}
|