skia2/tests/sksl/runtime_errors/IllegalPrecisionQualifiers.skvm

34 lines
1.1 KiB
Plaintext
Raw Normal View History

### Compilation failed:
error: 5: only one precision qualifier can be used
mediump highp int no_multiple_qualifiers;
^^^^^^^^^^^^^
error: 6: only one precision qualifier can be used
mediump lowp int no_multiple_qualifiers_2;
^^^^^^^^^^^^
error: 7: only one precision qualifier can be used
highp lowp int no_multiple_qualifiers_3;
^^^^^^^^^^
error: 8: only one precision qualifier can be used
highp mediump lowp int no_multiple_qualifiers_4;
^^^^^^^^^^^^^^^^^^
error: 9: type 'S' does not support precision qualifiers
highp S no_structs;
^^^^^
error: 10: type 'bool' does not support precision qualifiers
mediump bool no_bools;
^^^^^^^
error: 11: type 'colorFilter' does not support precision qualifiers
uniform lowp colorFilter no_opaque;
^^^^^^^^^^^^
error: 12: type 'half' does not support precision qualifiers
uniform highp half no_half_highp;
^^^^^^^^^^^^^
error: 13: type 'half' does not support precision qualifiers
uniform mediump half no_half_mediump;
^^^^^^^^^^^^^^^
error: 14: type 'half' does not support precision qualifiers
uniform lowp half no_lowp_mediump;
^^^^^^^^^^^^
10 errors