nir/vars_to_ssa: Rework to entirely use deref instructions
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 26 Mar 2018 21:36:43 +0000 (14:36 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 23 Jun 2018 03:54:00 +0000 (20:54 -0700)
commitb1a18b8797942863981ccd3b07d48d22fb7c13c7
treeb24fc8825aff9e05ffe1131ea7870286d0560221
parentf747ff1969d23d2d6a5edc30ea15f480425469ac
nir/vars_to_ssa: Rework to entirely use deref instructions

This commit reworks nir_lower_vars_to_ssa to use deref instructions and
deref paths internally instead of deref chains.  We also drop support
for the old load/store/copy_var intrinsics.

Acked-by: Rob Clark <robdclark@gmail.com>
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/nir/nir_lower_vars_to_ssa.c