mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
r300: add explicit flrp lowering
Even though we set .lower_flrp32 = true there is no actuall flrp
lowering in nir_opt_algebraic. Mesa does not produce any but nine does,
so lower it explicitly to fix nine.
Fixes: f8a5cba3b4
Signed-off-by: Pavel Ondračka <pavel.ondracka@gmail.com>
Reviewed-by: Filip Gawin <filip.gawin@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27467>
This commit is contained in:
parent
0b751a2134
commit
d78a913bda
1 changed files with 1 additions and 0 deletions
|
|
@ -115,6 +115,7 @@ r300_optimize_nir(struct nir_shader *s, struct pipe_screen *screen)
|
|||
NIR_PASS_V(s, nir_lower_vars_to_ssa);
|
||||
|
||||
NIR_PASS(progress, s, nir_copy_prop);
|
||||
NIR_PASS(progress, s, r300_nir_lower_flrp);
|
||||
NIR_PASS(progress, s, nir_opt_algebraic);
|
||||
if (s->info.stage == MESA_SHADER_VERTEX) {
|
||||
if (!is_r500)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue