skia2/tests/sksl/runtime_errors
John Stiles edac7716aa Evaluate single-argument generic intrinsics at compile time.
In particular, this optimizes abs() and sign() when all inputs are known
at compile time. This resolves a TODO on a test case in
`IllegalIndexing.rts`.

Change-Id: Ica310522a85b42dc7ae255bd25004a6629d04176
Bug: skia:10835
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/405676
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2021-05-10 14:50:50 +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
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
InvalidColorFilterFeatures.skvm Remove layout(marker) from runtime effect SkSL 2021-04-19 18:48:45 +00:00
InvalidColorFilterMain.skvm Add runtime color filter and shader modes to the SkSL compiler 2021-04-15 13:30:59 +00:00
InvalidShaderMain.skvm Add runtime color filter and shader modes to the SkSL compiler 2021-04-15 13:30:59 +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
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