anv/pipeline: Move lowering of nir_var_mem_global later
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Thu, 30 May 2019 23:55:19 +0000 (16:55 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Wed, 5 Jun 2019 23:57:09 +0000 (16:57 -0700)
commit1aea4cd0d91e755ad4b1bcfaee84f41110ccb5af
tree39aa1bea33e0fad7cf3cb635a51d3ed8fb7350fc
parent4f3c82c72c57acd4800e12ec77ad1b830812072c
anv/pipeline: Move lowering of nir_var_mem_global later

This let deref optimizations apply to globals before lowering them.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_pipeline.c