4a3ec173b3
When SPIR-V generates function calls to an intrinsic, it assumes that it can get a pointer to out-parameters referenced by the intrinsic. This does not account for swizzled out-parameters; these are valid lvalues, but do not work with getPointer(). The two intrinsics supported by SkSL which have an out-parameter are frexp and modf, so these tests were fleshed out to trigger the error. Neither of these are supported in ES2, though, so we cannot test them via Runtime Effects. Change-Id: Ib92707a28ba6d1c282d20e29a2a387bddf74ad23 Bug: skia:11052 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/370116 Auto-Submit: John Stiles <johnstiles@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com> |
||
---|---|---|
.. | ||
blend | ||
errors | ||
folding | ||
fp | ||
glsl | ||
inliner | ||
intrinsics | ||
metal | ||
runtime | ||
runtime_errors | ||
shared | ||
spirv | ||
workarounds | ||
README.txt |
This directory contains source files for testing skslc compilation. The compiled output files are in the /tests/sksl/ directory.