mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-12 13:20:33 +01:00
ir3: fix returning false instead of NULL
Fixes: 9de628b65c ("ir3: fold and/or and negations into branches")
Signed-off-by: Job Noorman <jnoorman@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27986>
This commit is contained in:
parent
9cfc44532b
commit
8d0f9c8fcd
1 changed files with 1 additions and 1 deletions
|
|
@ -3828,7 +3828,7 @@ static struct ir3_instruction *
|
|||
fold_conditional_branch(struct ir3_context *ctx, struct nir_src *nir_cond)
|
||||
{
|
||||
if (!ctx->compiler->has_branch_and_or)
|
||||
return false;
|
||||
return NULL;
|
||||
|
||||
if (nir_cond->ssa->parent_instr->type != nir_instr_type_alu)
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue