skia2/tests/sksl/runtime_errors
John Stiles 823c504999 Include non-ES2 numeric types in the root symbol table.
Previously, we hid non-ES2 numeric types from Runtime Effect code by
only including them in the private symbol table. Now, they are present
in the root symbol table, but marked with a new flag that identifies
them as disallowed in ES2.

The IR generator now enforces that strict-ES2 code doesn't contain types
that aren't allowed. This has two benefits:
- Intrinsic functions in sksl_public can now reference these types
- Error reporting is nicer

Change-Id: I32375de4efdcb57b74a8a1692fb2ee315a003336
Bug: skia:12348, skia:11115
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/439997
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2021-08-17 17:36:43 +00:00
..
DerivativesES2.skvm Allow derivatives in Runtime Effects when ES3 restrictions are off. 2021-08-13 16:45:17 +00:00
ES3Types.skvm Include non-ES2 numeric types in the root symbol table. 2021-08-17 17:36:43 +00:00
FirstClassArrays.skvm Reject array-typed vardecls and array ctors in strict ES2 mode. 2021-02-04 19:36:50 +00:00
IllegalArrayOps.skvm Runtime Effects: Disallow all operators on arrays or arrays-in-structs 2021-02-17 18:05:04 +00:00
IllegalIndexing.skvm Evaluate single-argument generic intrinsics at compile time. 2021-05-10 14:50:50 +00:00
IllegalOperators.skvm Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
IllegalPrecisionQualifiers.skvm Honor lowp/mediump/highp precision qualifiers in IRGenerator. 2021-08-04 21:29:10 +00:00
IllegalRecursionComplex.skvm Explicitly detect static recursion in SkSL 2021-07-24 00:01:15 +00:00
IllegalRecursionMutual.skvm Explicitly detect static recursion in SkSL 2021-07-24 00:01:15 +00:00
IllegalRecursionSimple.skvm Explicitly detect static recursion in SkSL 2021-07-24 00:01:15 +00:00
IllegalShaderUse.skvm Remove flexible runtime effects entirely 2021-04-29 16:02:27 +00:00
IllegalStatements.skvm Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InvalidBlendMain.skvm Fix for fuzzer-discovered out-of-bounds array access. 2021-06-10 14:32:10 +00:00
InvalidColorFilterFeatures.skvm Remove layout(marker) from runtime effect SkSL 2021-04-19 18:48:45 +00:00
InvalidColorFilterMain.skvm Fix for fuzzer-discovered out-of-bounds array access. 2021-06-10 14:32:10 +00:00
InvalidShaderMain.skvm Fix for fuzzer-discovered out-of-bounds array access. 2021-06-10 14:32:10 +00:00
LoopConditionErrors.skvm Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
LoopExpressionErrors.skvm Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
LoopInitializerErrors.skvm Reject array-typed vardecls and array ctors in strict ES2 mode. 2021-02-04 19:36:50 +00:00
LoopStructureErrors.skvm Optimize away no-op arithmetic in ConstantFolder. 2021-03-06 01:33:35 +00:00
Ossfuzz36655.skvm Add improved regression test for oss-fuzz:36655. 2021-08-06 13:03:32 +00:00
UnsupportedTypeFragmentProcessor.skvm Make 'shader' and 'colorFilter' first class types in SkSL 2021-04-05 14:55:46 +00:00
UnsupportedTypeSampler.skvm Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
UnsupportedTypeTexture.skvm Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00