xref: /aosp_15_r20/external/skia/resources/sksl/shared/StackingVectorCasts.sksl (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1uniform half4 colorGreen, colorRed;
2
3half4 main(float2 coords) {
4    if (half4(0, 0, 1, 1) == half4(int4(0, 0, 1, 1)))
5        return colorGreen;
6    else
7        return colorRed;
8}
9