mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 15:40:11 +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:
|
||||
dst_reg = ¤t->FullInstruction.Dst[0];
|
||||
liveness_mark_written(ctx, dst_reg, i);
|
||||
FALLTHROUGH;
|
||||
case 0:
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue