skia2/tests/sksl
John Stiles b6f91bc023 Optimize away equality checks for structs with known values.
We had all the moving parts in place, but had neglected to check
`simplify_constant_equality` for structs. It worked for structs that
boiled down to the same expression tree, but not for mismatched structs.
Comparison of known structs should be allowed in a constant-expression.

Change-Id: I3a52abf4530d1fe25d17eb482c1e29b5b8e03cf6
Bug: skia:13387
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/547444
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2022-06-06 20:59:15 +00:00
..
blend Add ReducedBlendModeInfo to shared code. 2022-04-22 17:18:31 +00:00
errors Revert "Revert "Restored unsized array support to SkSL"" 2022-06-03 19:03:13 +00:00
folding Optimize away equality checks for structs with known values. 2022-06-06 20:59:15 +00:00
glsl Added range highlighting to SkSL error reports 2022-04-07 13:29:48 +00:00
inliner Optimize away field accesses to known structs. 2022-06-06 20:38:43 +00:00
intrinsics Optimize away self comparisons in SPIR-V. 2022-04-19 16:10:03 +00:00
metal Added range highlighting to SkSL error reports 2022-04-07 13:29:48 +00:00
runtime Add #version directive to SkSL 2022-05-17 15:42:31 +00:00
runtime_errors Further reduce the size of DSLType. 2022-06-02 14:02:29 +00:00
shared Remove various sk_Caps settings 2022-06-06 14:08:38 +00:00
spirv Eliminate redundant loads following stores. 2022-04-18 14:57:48 +00:00
wgsl [sksl][wgsl] Field access and test for vertex stage builtins 2022-05-18 15:01:59 +00:00
workarounds [sksl] Disallow boolean uniforms 2022-06-01 18:07:08 +00:00
README.txt

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