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:
@@ -3975,9 +3975,7 @@ bool nir_can_move_instr(nir_instr *instr, nir_move_options options);
|
||||
|
||||
bool nir_opt_sink(nir_shader *shader, nir_move_options options);
|
||||
|
||||
bool nir_opt_move_comparisons(nir_shader *shader);
|
||||
|
||||
bool nir_opt_move_load_ubo(nir_shader *shader);
|
||||
bool nir_opt_move(nir_shader *shader, nir_move_options options);
|
||||
|
||||
bool nir_opt_peephole_select(nir_shader *shader, unsigned limit,
|
||||
bool indirect_load_ok, bool expensive_alu_ok);
|
||||
|
Reference in New Issue
Block a user