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 <pendingchaos02@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user