diff options
author | Connor Abbott <[email protected]> | 2020-06-10 11:11:27 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-06-19 13:16:57 +0000 |
commit | 65660622a1f7284c457388e553867b239343d314 (patch) | |
tree | ac7e476a8f9dbdaa38f0c748ace0709869655e2f /appveyor.yml | |
parent | f4654c458f81d47b59f3562f6f92ebf20321a3a2 (diff) |
ir3: Split out variant-specific lowering and optimizations
It seems a lot of the lowerings being run the second time were
unnecessary. In addition, when const_state is moved to the variant,
then it will become impossible to know ahead of time whether a variant
needs additional optimizing, which means that ir3_key_lowers_nir() needs
to go away. The new approach should have the same effect, since it skips
running lowerings that are unnecessary and then skips the opt loop if no
optimizations made progress, but it will work better when we move
ir3_nir_analyze_ubo_ranges() to be after variant creation.
The one maybe controversial thing I did is to make
nir_opt_algebraic_late() always happen during variant lowering. I wanted
to avoid code duplication, and it seems to me that we should push the
_late variants as far back as possible so that later opt_algebraic runs
don't miss out on optimization opportunities.
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5508>
Diffstat (limited to 'appveyor.yml')
0 files changed, 0 insertions, 0 deletions