552fcb9a1b
All internal usage has migrated to MakeFor..., this removes the old program kind, and updates some tests. Bug: skia:11813 Change-Id: I56733b071270e1ae3fab5d851e23acf6c02e3361 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/402536 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: John Stiles <johnstiles@google.com>
15 lines
307 B
Plaintext
15 lines
307 B
Plaintext
/*#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);
|
|
}
|