From 77401498521a35d1dd5711c8a48196a1827450b9 Mon Sep 17 00:00:00 2001 From: Rhys Perry Date: Wed, 24 Jul 2019 19:23:21 +0100 Subject: nir: merge and extend nir_opt_move_comparisons and nir_opt_move_load_ubo v2: add to series v3: update Makefile.sources v4: don't remove a comment and break statement v4: use nir_can_move_instr Signed-off-by: Rhys Perry Reviewed-by: Eric Anholt --- src/gallium/drivers/freedreno/a2xx/ir2_nir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/freedreno/a2xx/ir2_nir.c b/src/gallium/drivers/freedreno/a2xx/ir2_nir.c index 402b79691fb..9d36f7092ef 100644 --- a/src/gallium/drivers/freedreno/a2xx/ir2_nir.c +++ b/src/gallium/drivers/freedreno/a2xx/ir2_nir.c @@ -1079,7 +1079,7 @@ ir2_nir_compile(struct ir2_context *ctx, bool binning) OPT_V(ctx->nir, nir_copy_prop); OPT_V(ctx->nir, nir_opt_dce); - OPT_V(ctx->nir, nir_opt_move_comparisons); + OPT_V(ctx->nir, nir_opt_move, nir_move_comparisons); OPT_V(ctx->nir, nir_lower_int_to_float); OPT_V(ctx->nir, nir_lower_bool_to_float); -- cgit v1.2.3