skia2/tests/sksl
John Stiles 368166262a Add trunc/round/roundEven SKSL ES3 public APIs.
Improved tests caught a longstanding bug in the compile-time
optimization logic for round/roundEven. These would *always* round to an
even number even when it didn't make sense to do so. (e.g. 3.1 would
round to 4.)

RoundEven isn't available in lower shader models of Direct3D;
SPIRV-Cross throws if it's unavailable. We may need a caps bit for this.

Change-Id: I3cc50238a2116b8d4e2c4059730d8b5cfb2bb056
Bug: skia:12022, skia:12352
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/441078
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2021-08-23 15:44:15 +00:00
..
blend Remove SkBlendMode from SkSL 2021-06-16 21:01:30 +00:00
errors Improve error-checking during array-size conversion. 2021-08-23 14:35:00 +00:00
folding Fix assertion in constant-folder when using float4(mat2) casts. 2021-08-20 14:04:52 +00:00
glsl When force-high-precision is enabled, change default precision 2021-07-07 19:56:36 +00:00
inliner Remove enum support from SkSL 2021-07-09 14:03:15 +00:00
intrinsics Add trunc/round/roundEven SKSL ES3 public APIs. 2021-08-23 15:44:15 +00:00
metal Enable proper testing of matrix-scalar ops. 2021-05-17 17:36:22 +00:00
runtime Add tests for array assignment with narrowing conversions. 2021-08-11 12:56:40 +00:00
runtime_errors Include non-ES2 numeric types in the root symbol table. 2021-08-17 17:36:43 +00:00
shared Honor component type in Metal matrix helper functions. 2021-08-16 14:34:15 +00:00
spirv Improve SPIR-V handling of RTFlip when running the fuzzer. 2021-08-17 22:31:10 +00:00
workarounds Reland "Don't key progams/pipelines on origin."" 2021-07-07 14:50:10 +00:00
README.txt Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00

This directory contains skslc-compiled output from matching source files
in the /resources/sksl/ directory.