mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
v3d: fix checking twice auf flag
Seems a C&P error, and should check for auf/muf.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110902
Fixes: 8f065596d2 "v3d: Add an optimization pass for redundant flags updates."
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
ca6bf9a6cd
commit
17c2c9cd67
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ vir_opt_redundant_flags_block(struct v3d_compile *c, struct qblock *block)
|
|||
vir_for_each_inst(inst, block) {
|
||||
if (inst->qpu.type != V3D_QPU_INSTR_TYPE_ALU ||
|
||||
inst->qpu.flags.auf != V3D_QPU_UF_NONE ||
|
||||
inst->qpu.flags.auf != V3D_QPU_UF_NONE) {
|
||||
inst->qpu.flags.muf != V3D_QPU_UF_NONE) {
|
||||
last_flags = NULL;
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue