98378352be
A constructor like `float3(five)` is not a compile-time constant, so we miss optimization opportunities like folding. Constant variables inside splat constructors are now replaced when optimization is on, so this would optimize down to `float3(5.0)` and be eligible for folding. Change-Id: I4bf6f52a48ef733e6b24791d02687081194ef488 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/404676 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com> |
||
---|---|---|
.. | ||
blend | ||
dslfp | ||
errors | ||
folding | ||
fp | ||
glsl | ||
inliner | ||
intrinsics | ||
metal | ||
runtime | ||
runtime_errors | ||
shared | ||
spirv | ||
workarounds | ||
README.txt |
This directory contains skslc-compiled output from matching source files in the /resources/sksl/ directory.