X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2Fr600%2Fr600_shader.c;h=f58f8ccbe8bcdb40e8e0bc4cf9fd95e7c4c17523;hb=ac55b1a9a6266b5badfee82d81302ffc38faeb42;hp=346498cd98aaca08fb7cebff8480203cbb540290;hpb=b689de3444ab053e2b81022537ae31fb2c38b82d;p=mesa.git diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 346498cd98a..f58f8ccbe8b 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -200,9 +200,10 @@ int r600_pipe_shader_create(struct pipe_context *ctx, if (!ctx->screen->get_param(ctx->screen, PIPE_CAP_DOUBLES)) { NIR_PASS_V(sel->nir, nir_lower_regs_to_ssa); NIR_PASS_V(sel->nir, nir_lower_alu_to_scalar, NULL, NULL); - NIR_PASS_V(sel->nir, nir_lower_int64, ~0); - NIR_PASS_V(sel->nir, nir_opt_vectorize); + NIR_PASS_V(sel->nir, nir_lower_int64); + NIR_PASS_V(sel->nir, nir_opt_vectorize, NULL, NULL); } + NIR_PASS_V(sel->nir, nir_lower_flrp, ~0, false); } nir_tgsi_scan_shader(sel->nir, &sel->info, true);