intel/nir: Move lower_mem_access_bit_sizes to postprocess_nir
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 12 Jan 2019 02:19:18 +0000 (20:19 -0600)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 9 Mar 2019 04:03:14 +0000 (22:03 -0600)
commit179d254cbaaa3f4ffcd5f9fef73cb413b7dc0e72
treeec0b1ee8e89226cfa04c074ff1310ab5f19daba6
parentad259482610048e0e3cc8fc0cacd4581f1256b5d
intel/nir: Move lower_mem_access_bit_sizes to postprocess_nir

It doesn't really matter where this pass goes as long as it's after we
call nir_lower_explicit_io and before we go into the back-end.  Putting
it brw_postprocess_nir lets us move nir_lower_explicit_io significantly
later in the pipeline.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/intel/compiler/brw_nir.c