2021-02-17 16:36:43 +00:00
|
|
|
/*#pragma settings NoInline*/
|
|
|
|
|
2021-03-05 21:45:06 +00:00
|
|
|
const float gInitialized = -1.0;
|
2021-02-17 20:41:57 +00:00
|
|
|
float gInitializedFromOther = -gInitialized;
|
2021-02-17 16:36:43 +00:00
|
|
|
float gUninitialized;
|
|
|
|
|
|
|
|
void init_globals() {
|
|
|
|
gUninitialized = gInitialized + 2;
|
|
|
|
}
|
|
|
|
|
2021-04-28 21:41:57 +00:00
|
|
|
float4 main(float2 xy) {
|
2021-02-17 16:36:43 +00:00
|
|
|
init_globals();
|
2021-02-17 20:41:57 +00:00
|
|
|
return float4(0, gInitializedFromOther, 0, gUninitialized);
|
2021-02-17 16:36:43 +00:00
|
|
|
}
|