summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-04-02 17:41:28 -0700
committerJason Ekstrand <[email protected]>2018-06-22 20:54:00 -0700
commit5a02ffb733eccb03fdfa568cc33a231d9210c4ae (patch)
tree153080483bab91160447df976285cc6433c7b95a /src/intel
parent2fa7a4a54185cd64cb26c2d14339b95890b69da0 (diff)
nir: Rework lower_locals_to_regs to use deref instructions
This completely reworks the pass to support deref instructions and delete support for old deref chains 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/intel')
-rw-r--r--src/intel/compiler/brw_nir.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c
index 9472585fe4b..dfeea73b06a 100644
--- a/src/intel/compiler/brw_nir.c
+++ b/src/intel/compiler/brw_nir.c
@@ -766,8 +766,6 @@ 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_load_store_derefs);
-
OPT(nir_lower_locals_to_regs);
if (unlikely(debug_enabled)) {