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>
*packed_instr |= QPU_SET_FIELD(instr->branch.offset >> 24,
VC5_QPU_BRANCH_ADDR_HIGH);
+ default:
+ break;
+ }
- case V3D_QPU_BRANCH_DEST_REGFILE:
+ 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);
- break;
-
- default:
- break;
}
return true;