diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2018-03-23 10:31:59 -0700 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2018-06-22 20:54:00 -0700 |
commit | 606eb56ab9449b39a9b31355d30a7cee9c24fb0a (patch) | |
tree | 9c7b2133aec7d6173606d91cf9a6cc98e94c9b6b /src | |
parent | 71cd9ebed9b670ae09b9e2a6982596dcc0efd65e (diff) |
intel/nir: Only lower load/store derefs
Everything else should already be handled.
Acked-by: Rob Clark <robdclark@gmail.com>
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/compiler/brw_nir.c | 2 |
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); |