skia2/tests/sksl
John Stiles cfa9938936 Simplify -1 * x into -x.
We already performed a matching simplification for `0 - x`, so this
seemed like a straightforward improvement.

Performing this simplification causes the expressions in the test code
to match on both sides (e.g. `-one == -one`) which allows them to fold
away.

Change-Id: Idf87a98024dd6831b45d0384285ead2e2e039493
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/527656
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2022-04-05 20:27:15 +00:00
..
blend Collapse darken/lighten blend functions into one. 2022-04-05 20:27:09 +00:00
errors Added position tracking for SkSL struct fields 2022-04-05 19:46:52 +00:00
folding Simplify -1 * x into -x. 2022-04-05 20:27:15 +00:00
glsl Reland "Always apply mipmap sharpening on GPU" 2022-04-01 17:53:28 +00:00
inliner Collapse darken/lighten blend functions into one. 2022-04-05 20:27:09 +00:00
intrinsics Use unordered comparisons for != in SPIR-V. 2022-02-25 22:22:43 +00:00
metal Reland "Add support for half-precision types in Metal." 2021-10-30 14:33:52 +00:00
runtime Optimize SkVM selects. 2022-03-24 21:17:41 +00:00
runtime_errors Reject equality operators on opaque types. 2022-03-07 15:19:46 +00:00
shared Fixed SkSL positioning error with double negation 2022-04-05 17:10:23 +00:00
spirv Fixed a past-the-end error location in SPIR-V output 2022-03-16 21:54:21 +00:00
workarounds Use $ prefix on built-in private functions. 2022-01-25 15:21:42 +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.