From 606eb56ab9449b39a9b31355d30a7cee9c24fb0a Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 23 Mar 2018 10:31:59 -0700 Subject: [PATCH] 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 --- src/intel/compiler/brw_nir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2