mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 22:10:10 +01:00
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:
parent
57f6ef69b9
commit
202ebf9969
1 changed files with 1 additions and 0 deletions
|
|
@ -313,6 +313,7 @@ liveness_analysis(struct i915_optimize_context *ctx,
|
||||||
case 1:
|
case 1:
|
||||||
dst_reg = ¤t->FullInstruction.Dst[0];
|
dst_reg = ¤t->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:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue