6dda78ac7b
This enables the SkSL error testing logic for runtime effects. The core logic is identical, only the ProgramKind differs. (Error creation scripts: http://go/paste/6413797460803584 with some light post-processing) Change-Id: I877205b3cc1014b50ccccf6037a2f4034c07543e Bug: skia:12665 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/506538 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
28 lines
885 B
Plaintext
28 lines
885 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;
|
|
|
|
/*%%*
|
|
only one precision qualifier can be used
|
|
only one precision qualifier can be used
|
|
only one precision qualifier can be used
|
|
only one precision qualifier can be used
|
|
type 'S' does not support precision qualifiers
|
|
type 'bool' does not support precision qualifiers
|
|
type 'colorFilter' does not support precision qualifiers
|
|
type 'half' does not support precision qualifiers
|
|
type 'half' does not support precision qualifiers
|
|
type 'half' does not support precision qualifiers
|
|
*%%*/
|