From 3baad0361674228eefdfa239b8a4ce22dc1bb66e Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Sat, 9 May 2020 18:03:52 +0200 Subject: r600: Lower lerp after tgsi_to_nir Signed-off-by: Gert Wollny Reviewed-by: Reviewed-by: Dave Airlie Part-of: --- src/gallium/drivers/r600/r600_shader.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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); -- cgit v1.2.3