diff options
author | Rhys Perry <[email protected]> | 2019-07-24 19:23:21 +0100 |
---|---|---|
committer | Rhys Perry <[email protected]> | 2019-08-12 22:01:30 +0000 |
commit | 77401498521a35d1dd5711c8a48196a1827450b9 (patch) | |
tree | 5b3bbae52f40f799127acb72625005b681bea3df /src/intel | |
parent | da8ed68aca1b077fcbb8da429d8bcea785eeec10 (diff) |
nir: merge and extend nir_opt_move_comparisons and nir_opt_move_load_ubo
v2: add to series
v3: update Makefile.sources
v4: don't remove a comment and break statement
v4: use nir_can_move_instr
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/intel')
-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 b331e62f91a..177e09654e0 100644 --- a/src/intel/compiler/brw_nir.c +++ b/src/intel/compiler/brw_nir.c @@ -875,7 +875,7 @@ brw_postprocess_nir(nir_shader *nir, const struct brw_compiler *compiler, OPT(nir_lower_to_source_mods, nir_lower_all_source_mods); OPT(nir_copy_prop); OPT(nir_opt_dce); - OPT(nir_opt_move_comparisons); + OPT(nir_opt_move, nir_move_comparisons); OPT(nir_lower_bool_to_int32); |