skia2/tests/sksl/runtime_errors
John Stiles f7f36ae077 Add ProgramKind::kRuntimeBlend for Runtime Blend functions.
Runtime Blend effects always take two input colors--source and
destination--instead of one. This CL adds a new ProgramKind for blend
effects, a new program module (empty for now), and adds a test to
confirm that the signature for blend functions is checked. Currently
these are only accessible via skslc; there's no Runtime Effect API to
create one and the dest color isn't hooked up to anything.

Change-Id: I5272a811d2d76b878cfdf3429efa78c9c8b3fd97
Bug: skia:12080
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/416798
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2021-06-08 19:34:39 +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
InvalidBlendMain.skvm Add ProgramKind::kRuntimeBlend for Runtime Blend functions. 2021-06-08 19:34:39 +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