unplugged-system/external/skia/tests/sksl/intrinsics/Equal.skrp

25 lines
768 B
Plaintext
Raw Permalink Normal View History

### Compilation failed:
error: 2: variables of type 'uint2' may not be uniform
uniform uint2 c, d;
^^^^^^^^^^^^^^^
error: 2: variables of type 'uint2' may not be uniform
uniform uint2 c, d;
^
error: 4: 'main' must return: 'vec4', 'float4', or 'half4'
void main() {
^^^^^^^^^^^
error: 10: unknown identifier 'sk_FragColor'
sk_FragColor.x = equal(a, b).x ? 1 : 0;
^^^^^^^^^^^^
error: 11: unknown identifier 'sk_FragColor'
sk_FragColor.y = equal(c, d).y ? 1 : 0;
^^^^^^^^^^^^
error: 12: unknown identifier 'sk_FragColor'
sk_FragColor.z = equal(e, f).z ? 1 : 0;
^^^^^^^^^^^^
error: 13: unknown identifier 'sk_FragColor'
sk_FragColor.w = any(expectTTFF) || any(expectFFTT) || any(expectTTTT) ? 1 : 0;
^^^^^^^^^^^^
7 errors