freedreno/ir3: Lower bools to bitsize

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3885>
This commit is contained in:
Neil Roberts 2019-01-31 16:19:36 +01:00 committed by Marge Bot
parent 467c9a0faa
commit 61f7a1dfc5

View file

@ -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);