skia2/tests/sksl/runtime_errors
John Stiles 85f4226bd3 Fix fuzzer-discovered error with child calls.
The `eval` methods take a shader/blender/colorFilter, and we assumed
when assembling the ChildCall expression that the child expression would
be a VariableReference because opaque objects don't participate in
normal expressions. However, comma-expressions were allowed to contain
opaque types. GLSL doesn't allow opaque types in comma-expressions:

http://screen/8YW59tYDUbBh9eW

Now we disallow them as well.

Change-Id: Iaf88ef7bddb5cc8f1f1e23b515174dfc291e00c7
Bug: oss-fuzz:41072
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/472446
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2021-11-17 15:44:21 +00:00
..
DerivativesES2.skvm Allow derivatives in Runtime Effects when ES3 restrictions are off. 2021-08-13 16:45:17 +00:00
ES3Types.skvm Replace illegal DSLTypes with Poison types. 2021-10-06 00:12:07 +00:00
FirstClassArrays.skvm Reenable DSLParser 2021-09-16 15:28:19 +00:00
IllegalArrayOps.skvm
IllegalIndexing.skvm
IllegalOperators.skvm
IllegalPrecisionQualifiers.skvm Honor lowp/mediump/highp precision qualifiers in IRGenerator. 2021-08-04 21:29:10 +00:00
IllegalRecursionComplex.skvm SkSL: Turn DSL parser off again 2021-09-07 14:21:57 +00:00
IllegalRecursionMutual.skvm SkSL: Turn DSL parser off again 2021-09-07 14:21:57 +00:00
IllegalRecursionSimple.skvm SkSL: Turn DSL parser off again 2021-09-07 14:21:57 +00:00
IllegalShaderSampling.skvm Fix fuzzer-discovered error with child calls. 2021-11-17 15:44:21 +00:00
IllegalShaderUse.skvm Report incomplete expression-statements as errors. 2021-11-09 22:10:18 +00:00
IllegalStatements.skvm Implement switch in SkVM. 2021-09-23 19:58:55 +00:00
InvalidBlendMain.skvm Reenable DSLParser 2021-09-16 15:28:19 +00:00
InvalidColorFilterFeatures.skvm
InvalidColorFilterMain.skvm Reenable DSLParser 2021-09-16 15:28:19 +00:00
InvalidShaderMain.skvm Reenable DSLParser 2021-09-16 15:28:19 +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 Reenable DSLParser 2021-09-16 15:28:19 +00:00
LoopStructureErrors.skvm Increase GetLoopUnrollInfo loop-count limit to 100,000. 2021-09-07 19:28:08 +00:00
Ossfuzz36655.skvm Report incomplete expression-statements as errors. 2021-11-09 22:10:18 +00:00
Ossfuzz38131.skvm Fixed illegal interface block reporting 2021-09-07 20:18:00 +00:00
ProgramTooLarge_BlocklessLoops.skvm Fix size calculation of blockless for-loops. 2021-09-15 14:29:45 +00:00
ProgramTooLarge_Extreme.skvm Improve overflow checks in CheckProgramUnrolledSize. 2021-09-15 16:42:45 +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 SkSL: Turn DSL parser off again 2021-09-07 14:21:57 +00:00
ReservedNameISampler2D.skvm Mark private types as invalid in the public symbol table. 2021-10-13 20:41:09 +00:00
ReservedNameSampler1D.skvm Mark private types as invalid in the public symbol table. 2021-10-13 20:41:09 +00:00
ReservedNameSampler2D.skvm Mark private types as invalid in the public symbol table. 2021-10-13 20:41:09 +00:00
ReservedNameSampler2DRect.skvm Mark private types as invalid in the public symbol table. 2021-10-13 20:41:09 +00:00
ReservedNameSampler3D.skvm Mark private types as invalid in the public symbol table. 2021-10-13 20:41:09 +00:00
ReservedNameSampler.skvm Mark private types as invalid in the public symbol table. 2021-10-13 20:41:09 +00:00
ReservedNameSamplerExternalOES.skvm Mark private types as invalid in the public symbol table. 2021-10-13 20:41:09 +00:00
ReservedNameSubpassInput.skvm Mark private types as invalid in the public symbol table. 2021-10-13 20:41:09 +00:00
ReservedNameSubpassInputMS.skvm Mark private types as invalid in the public symbol table. 2021-10-13 20:41:09 +00:00
ReservedNameTexture2D.skvm Mark private types as invalid in the public symbol table. 2021-10-13 20:41:09 +00:00
UnsupportedTypeFragmentProcessor.skvm Reenable DSLParser 2021-09-16 15:28:19 +00:00
UnsupportedTypeSampler.skvm Mark private types as invalid in the public symbol table. 2021-10-13 20:41:09 +00:00
UnsupportedTypeTexture.skvm Mark private types as invalid in the public symbol table. 2021-10-13 20:41:09 +00:00