From 61f7a1dfc566508d505230562a99099ee9c3f70f Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Thu, 31 Jan 2019 16:19:36 +0100 Subject: [PATCH] freedreno/ir3: Lower bools to bitsize Reviewed-by: Alyssa Rosenzweig Reviewed-by: Kristian H. Kristensen Part-of: --- src/freedreno/ir3/ir3_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedreno/ir3/ir3_context.c b/src/freedreno/ir3/ir3_context.c index b8ec4a7da44..706316d897c 100644 --- a/src/freedreno/ir3/ir3_context.c +++ b/src/freedreno/ir3/ir3_context.c @@ -78,7 +78,7 @@ ir3_context_init(struct ir3_compiler *compiler, /* this needs to be the last pass run, so do this here instead of * in ir3_optimize_nir(): */ - NIR_PASS_V(ctx->s, nir_lower_bool_to_int32); + NIR_PASS_V(ctx->s, nir_lower_bool_to_bitsize); bool progress = false; NIR_PASS(progress, ctx->s, nir_lower_locals_to_regs); -- 2.30.2