mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-23 15:30:09 +00:00
broadcom/compiler: Fix qpu.flags.muf typo.
Fix defect reported by Coverity Scan.
Same on both sides (CONSTANT_EXPRESSION_RESULT)
pointless_expression: The expression inst->qpu.flags.auf !=
V3D_QPU_UF_NONE || inst->qpu.flags.auf != V3D_QPU_UF_NONE does not
accomplish anything because it evaluates to either of its identical
operands, inst->qpu.flags.auf != V3D_QPU_UF_NONE.
Fixes: 3f2c54a27f
("broadcom/compiler: rewrite partial update liveness tracking")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12385>
This commit is contained in:
parent
4d6e18b6cb
commit
0a4c4f4459
@ -175,7 +175,7 @@ vir_setup_def_use(struct v3d_compile *c)
|
||||
}
|
||||
|
||||
if (inst->qpu.flags.auf != V3D_QPU_UF_NONE ||
|
||||
inst->qpu.flags.auf != V3D_QPU_UF_NONE) {
|
||||
inst->qpu.flags.muf != V3D_QPU_UF_NONE) {
|
||||
flags_inst = NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user