nir: Remove now unnecessary conditions from emit_load/store helpers
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Thu, 29 Apr 2021 21:16:46 +0000 (14:16 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Tue, 4 May 2021 13:33:24 +0000 (06:33 -0700)
commit7cc846788c5c22292c3b965f144125b3141fe04b
tree23475e94039a15065ab580b3978f7c1e65fc898d
parent693ae0d3e9c911602e20176d450eb98c2f1a1ec2
nir: Remove now unnecessary conditions from emit_load/store helpers

The mode one was used before 0bc5a829dd6 ("nir: Remove shared support from
lower_io").

The others were used before 5f7c7c9a7f7 ("nir: add src and dest types
to all IO loads and stores for mediump").

All conditions now are always true, so drop them.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10533>
src/compiler/nir/nir_lower_io.c