xref: /aosp_15_r20/external/skia/tests/sksl/intrinsics/LessThan.skrp (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1### Compilation failed:
2
3error: 2: variables of type 'uint2' may not be uniform
4uniform uint2 c, d;
5^^^^^^^^^^^^^^^
6error: 2: variables of type 'uint2' may not be uniform
7uniform uint2 c, d;
8                 ^
9error: 4: 'main' must return: 'vec4', 'float4', or 'half4'
10void main() {
11^^^^^^^^^^^
12error: 9: unknown identifier 'sk_FragColor'
13    sk_FragColor.x = lessThan(a, b).x ? 1 : 0;
14    ^^^^^^^^^^^^
15error: 10: unknown identifier 'sk_FragColor'
16    sk_FragColor.y = lessThan(c, d).y ? 1 : 0;
17    ^^^^^^^^^^^^
18error: 11: unknown identifier 'sk_FragColor'
19    sk_FragColor.z = lessThan(e, f).z ? 1 : 0;
20    ^^^^^^^^^^^^
21error: 12: unknown identifier 'sk_FragColor'
22    sk_FragColor.w = any(expectTTFF) || any(expectFFTT) ? 1 : 0;
23    ^^^^^^^^^^^^
247 errors
25