radv: Use nir_opt_generate_bfi to generate bitfield_select
v2: Move to radv_optimize_nir_algebraic. Suggested by Georg. Tested-by: Georg Lehmann <dadschoorse@gmail.com> Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31006>
This commit is contained in:
@@ -197,6 +197,7 @@ radv_optimize_nir_algebraic(nir_shader *nir, bool opt_offsets, bool opt_mqsad)
|
||||
NIR_PASS(_, nir, nir_opt_constant_folding);
|
||||
NIR_PASS(_, nir, nir_opt_cse);
|
||||
NIR_PASS(more_algebraic, nir, nir_opt_algebraic);
|
||||
NIR_PASS(_, nir, nir_opt_generate_bfi);
|
||||
NIR_PASS(_, nir, nir_opt_dead_cf);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user