nir: Remove the old nir_opt_shrink_load.
authorEric Anholt <eric@anholt.net>
Thu, 23 Jul 2020 05:10:39 +0000 (22:10 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 3 Aug 2020 21:26:45 +0000 (21:26 +0000)
commitee2f21b10dc786c83ff5dad716502429f6b26fb9
tree462d65262ab1939ca3aa14de7458e957e52c924b
parentd8c2f896dba8b5e89f054dc9f6bffd27e3aceb25
nir: Remove the old nir_opt_shrink_load.

The old pass only handled intrinsic load_constant, while the new
nir_opt_shrink_vectors handles ALU ops, nir load_consts, along with all
the load intrinsics.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6050>
src/compiler/Makefile.sources
src/compiler/nir/meson.build
src/compiler/nir/nir.h
src/compiler/nir/nir_opt_shrink_load.c [deleted file]