i915g: fix implicit-fallthrough warning

Fixes a warning on clang.

Uses FALLTHROUGH like the surrounding code.

Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14252>
This commit is contained in:
Thomas H.P. Andersen 2021-12-17 17:11:51 +01:00 committed by Marge Bot
parent 57f6ef69b9
commit 202ebf9969

View file

@ -313,6 +313,7 @@ liveness_analysis(struct i915_optimize_context *ctx,
case 1: case 1:
dst_reg = &current->FullInstruction.Dst[0]; dst_reg = &current->FullInstruction.Dst[0];
liveness_mark_written(ctx, dst_reg, i); liveness_mark_written(ctx, dst_reg, i);
FALLTHROUGH;
case 0: case 0:
break; break;
default: default: