Commit 61f7a1df authored by Neil Roberts's avatar Neil Roberts Committed by Marge Bot

freedreno/ir3: Lower bools to bitsize

Reviewed-by: Alyssa Rosenzweig's avatarAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Kristian H. Kristensen's avatarKristian H. Kristensen <hoegsberg@google.com>
Part-of: <!3885>
parent 467c9a0f
...@@ -78,7 +78,7 @@ ir3_context_init(struct ir3_compiler *compiler, ...@@ -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 /* this needs to be the last pass run, so do this here instead of
* in ir3_optimize_nir(): * 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; bool progress = false;
NIR_PASS(progress, ctx->s, nir_lower_locals_to_regs); NIR_PASS(progress, ctx->s, nir_lower_locals_to_regs);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment