skia2/tests/sksl/runtime_errors
John Stiles 733fd74c29 Improve unit testing of for-loops.
An ES2-compatible for loop supports six separate rel-ops:
   < <= > >= != ==
Each rel-op, in addition to its expected usage, is also able to
represent a loop which never terminates, as well as a loop which
terminates instantly. Since SkVM unrolls these loops, we should make
sure we do it properly. We now have unit tests for all of these cases.

Change-Id: Icae04d48bc158bf8c0c98db97f76756a1a29110c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/445756
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2021-09-07 14:11:04 +00:00
..
DerivativesES2.skvm Allow derivatives in Runtime Effects when ES3 restrictions are off. 2021-08-13 16:45:17 +00:00
ES3Types.skvm Flip the switch to activate DSLParser 2021-09-03 19:07:17 +00:00
FirstClassArrays.skvm Flip the switch to activate DSLParser 2021-09-03 19:07:17 +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 Flip the switch to activate DSLParser 2021-09-03 19:07:17 +00:00
IllegalRecursionMutual.skvm Flip the switch to activate DSLParser 2021-09-03 19:07:17 +00:00
IllegalRecursionSimple.skvm Flip the switch to activate DSLParser 2021-09-03 19:07:17 +00:00
IllegalShaderSampling.skvm Remove SkSL shade/blend/filter intrinsics 2021-09-03 16:55:38 +00:00
IllegalShaderUse.skvm Flip the switch to activate DSLParser 2021-09-03 19:07:17 +00:00
IllegalStatements.skvm Fix line numbers of several DSLParser errors 2021-09-03 22:12:22 +00:00
InvalidBlendMain.skvm Flip the switch to activate DSLParser 2021-09-03 19:07:17 +00:00
InvalidColorFilterFeatures.skvm Remove layout(marker) from runtime effect SkSL 2021-04-19 18:48:45 +00:00
InvalidColorFilterMain.skvm Flip the switch to activate DSLParser 2021-09-03 19:07:17 +00:00
InvalidShaderMain.skvm Flip the switch to activate DSLParser 2021-09-03 19:07:17 +00:00
LoopConditionErrors.skvm Fix line numbers of several DSLParser errors 2021-09-03 22:12:22 +00:00
LoopExpressionErrors.skvm Fix line numbers of several DSLParser errors 2021-09-03 22:12:22 +00:00
LoopInitializerErrors.skvm Fix line numbers of several DSLParser errors 2021-09-03 22:12:22 +00:00
LoopStructureErrors.skvm Improve unit testing of for-loops. 2021-09-07 14:11:04 +00:00
Ossfuzz36655.skvm Only perform unrolled-size check on valid code. 2021-09-03 15:51:11 +00:00
ProgramTooLarge_FlatLoop.skvm Enforce an upper bound on Runtime Effect program size. 2021-09-02 14:44:34 +00:00
ProgramTooLarge_Functions.skvm Enforce an upper bound on Runtime Effect program size. 2021-09-02 14:44:34 +00:00
ProgramTooLarge_NestedLoops.skvm Enforce an upper bound on Runtime Effect program size. 2021-09-02 14:44:34 +00:00
ProgramTooLarge_SplitLoops.skvm Enforce an upper bound on Runtime Effect program size. 2021-09-02 14:44:34 +00:00
ProgramTooLarge_StackDepth.skvm Flip the switch to activate DSLParser 2021-09-03 19:07:17 +00:00
UnsupportedTypeFragmentProcessor.skvm Flip the switch to activate DSLParser 2021-09-03 19:07:17 +00:00
UnsupportedTypeSampler.skvm Flip the switch to activate DSLParser 2021-09-03 19:07:17 +00:00
UnsupportedTypeTexture.skvm Flip the switch to activate DSLParser 2021-09-03 19:07:17 +00:00