31e4c38236
Previously we did not have a Pipeline callback function for prototyping a function, so prototypes would be discarded during translation. This failure mode can be seen in http://review.skia.org/454741, where FunctionPrototype.sksl is made more complex (thwarting the inliner). This causes us to emit invalid GLSL, and dm asserts/fails in the SkSL tests: http://screen/4PkEEWn4m4tF5e7 This CL makes the same changes to FunctionPrototype, but does not crash. Change-Id: Ia342c7811a454f62f52677440d247e628a1bdc4f Bug: skia:12488 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/454740 Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com> Auto-Submit: John Stiles <johnstiles@google.com> |
||
---|---|---|
.. | ||
blend | ||
errors | ||
folding | ||
glsl | ||
inliner | ||
intrinsics | ||
metal | ||
runtime | ||
runtime_errors | ||
shared | ||
spirv | ||
workarounds | ||
README.txt |
This directory contains skslc-compiled output from matching source files in the /resources/sksl/ directory.