[Mesa-dev] [PATCH 61/61] intel/nir: Only lower load/store derefs

Jason Ekstrand jason at jlekstrand.net
Fri Mar 23 21:43:07 UTC 2018


Everything else should already be handled.
---
 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 8bd9b96..b8c18ea 100644
--- a/src/intel/compiler/brw_nir.c
+++ b/src/intel/compiler/brw_nir.c
@@ -740,7 +740,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.5.0.400.gff86faf



More information about the mesa-dev mailing list