xref: /aosp_15_r20/external/skia/resources/sksl/shared/SwizzleScalarBool.sksl (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1uniform half unknownInput; // 1
2
3half4 main(float2 coords) {
4    bool b = bool(unknownInput);
5    bool4 b4 = b.xxxx;
6    b4 = b.xx01;
7    b4 = b.0x10;
8    b4 = b.0x0x;
9
10    return half4(b4);
11}
12