From: Gert Wollny Date: Sat, 9 May 2020 16:03:52 +0000 (+0200) Subject: r600: Lower lerp after tgsi_to_nir X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3baad0361674228eefdfa239b8a4ce22dc1bb66e;p=mesa.git r600: Lower lerp after tgsi_to_nir Signed-off-by: Gert Wollny Reviewed-by: Reviewed-by: Dave Airlie Part-of: --- diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 346498cd98a..0345fad875c 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -203,6 +203,7 @@ int r600_pipe_shader_create(struct pipe_context *ctx, NIR_PASS_V(sel->nir, nir_lower_int64, ~0); NIR_PASS_V(sel->nir, nir_opt_vectorize); } + NIR_PASS_V(sel->nir, nir_lower_flrp, ~0, false, false); } nir_tgsi_scan_shader(sel->nir, &sel->info, true);