From: Jason Ekstrand Date: Fri, 23 Mar 2018 17:31:59 +0000 (-0700) Subject: intel/nir: Only lower load/store derefs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=606eb56ab9449b39a9b31355d30a7cee9c24fb0a;p=mesa.git intel/nir: Only lower load/store derefs Everything else should already be handled. Acked-by: Rob Clark Acked-by: Bas Nieuwenhuizen Acked-by: Dave Airlie Reviewed-by: Kenneth Graunke --- diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c index a4cbec8aadf..d9642c7d490 100644 --- a/src/intel/compiler/brw_nir.c +++ b/src/intel/compiler/brw_nir.c @@ -766,7 +766,7 @@ brw_postprocess_nir(nir_shader *nir, const struct brw_compiler *compiler, OPT(nir_opt_dce); OPT(nir_opt_move_comparisons); - OPT(nir_lower_deref_instrs, ~nir_lower_image_derefs); + OPT(nir_lower_deref_instrs, nir_lower_load_store_derefs); OPT(nir_lower_locals_to_regs);