i915g: fix implicit-fallthrough warning
authorThomas H.P. Andersen <phomes@gmail.com>
Fri, 17 Dec 2021 16:11:51 +0000 (17:11 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 22 Dec 2021 17:02:00 +0000 (17:02 +0000)
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>

src/gallium/drivers/i915/i915_fpc_optimize.c

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