823c504999
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> |
||
---|---|---|
.. | ||
DerivativesES2.skvm | ||
ES3Types.skvm | ||
FirstClassArrays.skvm | ||
IllegalArrayOps.skvm | ||
IllegalIndexing.skvm | ||
IllegalOperators.skvm | ||
IllegalPrecisionQualifiers.skvm | ||
IllegalRecursionComplex.skvm | ||
IllegalRecursionMutual.skvm | ||
IllegalRecursionSimple.skvm | ||
IllegalShaderUse.skvm | ||
IllegalStatements.skvm | ||
InvalidBlendMain.skvm | ||
InvalidColorFilterFeatures.skvm | ||
InvalidColorFilterMain.skvm | ||
InvalidShaderMain.skvm | ||
LoopConditionErrors.skvm | ||
LoopExpressionErrors.skvm | ||
LoopInitializerErrors.skvm | ||
LoopStructureErrors.skvm | ||
Ossfuzz36655.skvm | ||
UnsupportedTypeFragmentProcessor.skvm | ||
UnsupportedTypeSampler.skvm | ||
UnsupportedTypeTexture.skvm |