mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
broadcom/qpu: set VC5_QPU_RADDR_A out of the switch at _pack_branch
Detected after mesa added Wimplicit-fallthrough project wide. Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5769>
This commit is contained in:
parent
ec4d3def16
commit
b921d17aa6
1 changed files with 6 additions and 6 deletions
|
|
@ -1452,16 +1452,16 @@ v3d_qpu_instr_pack_branch(const struct v3d_device_info *devinfo,
|
|||
|
||||
*packed_instr |= QPU_SET_FIELD(instr->branch.offset >> 24,
|
||||
VC5_QPU_BRANCH_ADDR_HIGH);
|
||||
|
||||
case V3D_QPU_BRANCH_DEST_REGFILE:
|
||||
*packed_instr |= QPU_SET_FIELD(instr->branch.raddr_a,
|
||||
VC5_QPU_RADDR_A);
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (instr->branch.bdi == V3D_QPU_BRANCH_DEST_REGFILE ||
|
||||
instr->branch.bdu == V3D_QPU_BRANCH_DEST_REGFILE) {
|
||||
*packed_instr |= QPU_SET_FIELD(instr->branch.raddr_a,
|
||||
VC5_QPU_RADDR_A);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue