skia2/tests/sksl
John Stiles 871476a9b2 Improve constructor handling in Analysis::IsTrivialExpression.
This code was originally written before our constructor IR types were
split apart, so its treatment of constructors was pretty simplistic. The
new code handles each type of constructor separately, and makes better
decisions as a result.

Compound constructors are now only considered to be trivial when they
are compile-time constants; this causes vector<->matrix conversion
constructors to be detected as non-trivial.

Change-Id: I534fcf69f5d5f43ac705d68ae00f97fce8496c2a
Bug: skia:13378
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/546555
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
2022-06-03 18:59:06 +00:00
..
blend Add ReducedBlendModeInfo to shared code. 2022-04-22 17:18:31 +00:00
errors Revert "Restored unsized array support to SkSL" 2022-06-03 15:56:10 +00:00
folding Optimize away same-value ternaries. 2022-04-07 19:37:00 +00:00
glsl Added range highlighting to SkSL error reports 2022-04-07 13:29:48 +00:00
inliner Improve constructor handling in Analysis::IsTrivialExpression. 2022-06-03 18:59:06 +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 [sksl][wgsl] Support simple assignment 2022-05-18 02:25:29 +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 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.