skia2/tests/sksl
John Stiles 8037c9e2ed Add test for folding of == and != for arrays.
We don't directly support this today at all. In practice, though, simple
constant arrays are detected as equal in the constant-folding pass
because they hit the `x == x` self-equality check (using
`IsSameExpressionTree`).

This does not work for our inequality tests, though, so those do not
fold.

Change-Id: I6730a9a2d1da9ac613ee58889d651f3ff65b1d2d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/391057
Commit-Queue: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2021-03-31 15:32:03 +00:00
..
blend Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
errors Fix fuzzer-discovered error with variable declarations. 2021-03-29 14:35:09 +00:00
folding Add test for folding of == and != for arrays. 2021-03-31 15:32:03 +00:00
fp Add new style key information to several core effects 2021-03-04 14:49:07 +00:00
glsl Remove specific blend mode layout qualifiers 2021-02-23 15:45:55 +00:00
inliner Run SkSL inliner tests as part of dm. 2021-03-25 22:58:54 +00:00
intrinsics Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
metal Mangle function names in Metal. 2021-03-22 17:23:21 +00:00
runtime Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
runtime_errors Optimize away no-op arithmetic in ConstantFolder. 2021-03-06 01:33:35 +00:00
shared Convert division-by-literal in SPIR-V to multiplication. 2021-03-26 02:30:54 +00:00
spirv Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +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.