aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGert Wollny <[email protected]>2020-05-09 18:03:52 +0200
committerMarge Bot <[email protected]>2020-05-19 07:52:13 +0000
commit3baad0361674228eefdfa239b8a4ce22dc1bb66e (patch)
treed0e68d3bf3acb548594a6e0556ec887732bcec07 /src
parentb689de3444ab053e2b81022537ae31fb2c38b82d (diff)
r600: Lower lerp after tgsi_to_nir
Signed-off-by: Gert Wollny <[email protected]> Reviewed-by: Reviewed-by: Dave Airlie <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5085>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r600/r600_shader.c1
1 files changed, 1 insertions, 0 deletions
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);