intel/nir: Call nir_opt_deref in brw_nir_optimize
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 11 Jan 2019 20:33:17 +0000 (14:33 -0600)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 12 Jan 2019 23:55:49 +0000 (17:55 -0600)
commit24c8108ea6ac2fb71f9fff7c05354114319c0fc9
treea671acdb65525055a45d891e353616c9e0500b98
parente57e26121a4b0d6fb836e981da039bd1ef0ebf06
intel/nir: Call nir_opt_deref in brw_nir_optimize

It's an optimization so we should probably be calling it in the
optimization loop.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/compiler/brw_nir.c