Skip to content
Commit 4ff2105e authored by Ian Romanick's avatar Ian Romanick Committed by Juan A. Suarez Romero
Browse files

Revert "nir/lower_indirect: Bail early if modes == 0"

    "There's no point in walking the program if we're never going to
    actually lower anything."

Except we might lower compacted local arrays.  In that case, modes will
be 0, but there is still lowering to be done.

This reverts commit 7f75cf2a.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109081


Suggested-by: default avatarKenneth Graunke <kenneth@whitecape.org>
Reviewed-by: default avatarJason Ekstrand <jason@jlekstrand.net>
Reviewed-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tested-by: default avatarClayton Craft <clayton.a.craft@intel.com>
Cc: Kenneth Graunke <kenneth@whitecape.org>
(cherry picked from commit 29e4b949)
parent d61fffdc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment