nir: Add a pass for fixing deref modes
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Mar 2018 22:37:50 +0000 (15:37 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 23 Jun 2018 03:15:54 +0000 (20:15 -0700)
commit54e440945ed67a8850f4e0d6133cfb3bb7a64e68
tree644291167d0784df9d4c76988c07a7ee86d06c1c
parentf917814c14b4910929da498aa5cce790fa2ec8ec
nir: Add a pass for fixing deref modes

This will be needed by anything which changes variable modes without
rewriting derefs.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
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.h
src/compiler/nir/nir_deref.c