diff --git a/.pick_status.json b/.pick_status.json index fa133665146..fe559b8cc70 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -3544,7 +3544,7 @@ "description": "r300: add explicit flrp lowering", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "f8a5cba3b4265ccf088c05d9d44f36f42c961e0b", "notes": null diff --git a/src/gallium/drivers/r300/compiler/r300_nir.c b/src/gallium/drivers/r300/compiler/r300_nir.c index 1fc240fa7b5..d87e6c165c2 100644 --- a/src/gallium/drivers/r300/compiler/r300_nir.c +++ b/src/gallium/drivers/r300/compiler/r300_nir.c @@ -80,6 +80,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)