summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-03-23 10:31:59 -0700
committerJason Ekstrand <[email protected]>2018-06-22 20:54:00 -0700
commit606eb56ab9449b39a9b31355d30a7cee9c24fb0a (patch)
tree9c7b2133aec7d6173606d91cf9a6cc98e94c9b6b /src
parent71cd9ebed9b670ae09b9e2a6982596dcc0efd65e (diff)
intel/nir: Only lower load/store derefs
Everything else should already be handled. Acked-by: Rob Clark <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]> Acked-by: Dave Airlie <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/intel/compiler/brw_nir.c2
1 files changed, 1 insertions, 1 deletions
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);