skia2/resources/sksl/runtime_errors/IllegalPrecisionQualifiers.rts
John Stiles b806da4501 Honor lowp/mediump/highp precision qualifiers in IRGenerator.
This CL does not update the DSLParser to honor these precision
qualifiers; that will be done in a followup.

Change-Id: Ib629bc99c0e6c7afb550a381d4e3b6ccc26aa64e
Bug: skia:12248
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/436337
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2021-08-04 21:29:10 +00:00

15 lines
404 B
Plaintext

// Expect 10 errors
struct S { int i; };
mediump highp int no_multiple_qualifiers;
mediump lowp int no_multiple_qualifiers_2;
highp lowp int no_multiple_qualifiers_3;
highp mediump lowp int no_multiple_qualifiers_4;
highp S no_structs;
mediump bool no_bools;
uniform lowp colorFilter no_opaque;
uniform highp half no_half_highp;
uniform mediump half no_half_mediump;
uniform lowp half no_lowp_mediump;