skia2/resources/sksl/shared/TernaryAsLValueEntirelyFoldable.sksl

7 lines
124 B
Plaintext
Raw Normal View History

half4 main(float2 coords) {
half r, g;
(true ? r : g) = 0;
(false ? r : g) = 1;
return half4(r, g, 0, 1);
}