skia2/tests/sksl
John Stiles 511c500ad4 Avoid generating unused variables in the Inliner.
These variables were later being eliminated by the dead-code-elimination
pass, so you can't see them directly in the final output, but removing
them affects the name mangling off all future symbols, so it causes an
enormous ripple effect in the diff. And of course, it's a waste of time
and memory to synthesize IRNodes just to destroy them later.

If we disable control-flow analysis, we lose the dead-code-elimination
pass entirely; this change is also beneficial for emitting better code
when optimizations are turned off.

Change-Id: I882b3be4f3fd99b77d99b6abe128f26bb9252c89
Bug: skia:11319
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/375776
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2021-02-25 19:18:19 +00:00
..
blend Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
errors Add flags for all layout qualifiers, check for duplicates 2021-02-24 16:22:26 +00:00
folding Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
fp Remove fragmentProcessor field access 2021-02-24 21:33:36 +00:00
glsl Remove specific blend mode layout qualifiers 2021-02-23 15:45:55 +00:00
inliner Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
intrinsics Migrate convertSwizzle to Swizzle::Make. 2021-02-19 21:26:58 +00:00
metal Allow repeated params in Metal out-params helper. 2021-02-16 15:45:45 +00:00
runtime Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
runtime_errors Runtime Effects: Disallow all operators on arrays or arrays-in-structs 2021-02-17 18:05:04 +00:00
shared Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
spirv Improve memory layout handling in SPIRV generator 2021-01-22 22:16:48 +00:00
workarounds Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +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.