mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 15:48:36 +02:00
radeonsi: Use nir_opt_generate_bfi to generate bitfield_select
Not tested. v2: Move after nir_opt_algebraic. Suggested by Georg. v3: has_bitfield_select is always enabled on GCN+. Suggested by Georg. Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31006>
This commit is contained in:
parent
79bc1da203
commit
55448cf43a
1 changed files with 1 additions and 0 deletions
|
|
@ -122,6 +122,7 @@ void si_nir_opts(struct si_screen *sscreen, struct nir_shader *nir, bool first)
|
|||
/* Needed for algebraic lowering */
|
||||
NIR_PASS(progress, nir, nir_lower_bit_size, si_lower_bit_size_callback, NULL);
|
||||
NIR_PASS(progress, nir, nir_opt_algebraic);
|
||||
NIR_PASS(progress, nir, nir_opt_generate_bfi);
|
||||
NIR_PASS(progress, nir, nir_opt_constant_folding);
|
||||
|
||||
if (!nir->info.flrp_lowered) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue