From: Neil Roberts Date: Thu, 31 Jan 2019 15:19:36 +0000 (+0100) Subject: freedreno/ir3: Lower bools to bitsize X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=61f7a1dfc566508d505230562a99099ee9c3f70f;p=mesa.git freedreno/ir3: Lower bools to bitsize Reviewed-by: Alyssa Rosenzweig Reviewed-by: Kristian H. Kristensen Part-of: --- 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);