skia2/tests/sksl
John Stiles 33ef30ec68 Optimize remaining simple 1-argument intrinsics.
Aside from sqrt() and normalize(), we now optimize all the intrinsics
which take a single argument as input, and return that argument with
each of its components permuted as output.

This CL also introduces a minor restriction--we no longer optimize
intrinsics which evaluate to inf or nan, such as `inversesqrt(-1)`.
These will be left in the source as-is.

Change-Id: I4919b3c18a2df81accd6daf2f650b9f587ff43fc
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/406577
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2021-05-11 16:44:09 +00:00
..
blend Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
dslfp Add support for uint types in DSL C++ code generation. 2021-05-10 18:43:52 +00:00
errors Removed early_fragment_tests layout qualifier 2021-05-10 23:21:34 +00:00
folding Optimize not() intrinsic. 2021-05-11 14:08:39 +00:00
fp Remove SkSL sample-with-matrix implementation 2021-04-29 12:46:57 +00:00
glsl Remove specific blend mode layout qualifiers 2021-02-23 15:45:55 +00:00
inliner Evaluate single-argument generic intrinsics at compile time. 2021-05-10 14:50:50 +00:00
intrinsics Optimize remaining simple 1-argument intrinsics. 2021-05-11 16:44:09 +00:00
metal Mangle function names in Metal. 2021-03-22 17:23:21 +00:00
runtime Optimize compound constructors containing constant vars. 2021-05-05 16:42:56 +00:00
runtime_errors Evaluate single-argument generic intrinsics at compile time. 2021-05-10 14:50:50 +00:00
shared Evaluate single-argument generic intrinsics at compile time. 2021-05-10 14:50:50 +00:00
spirv Evaluate single-argument generic intrinsics at compile time. 2021-05-10 14:50:50 +00:00
workarounds Rewrite matrix * vector multiplication on ARM GPUs. 2021-03-24 19:21:44 +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.