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);