freedreno: fix missing fallthrough comments
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 8 Jul 2020 09:00:55 +0000 (19:00 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 9 Jul 2020 02:07:37 +0000 (12:07 +1000)
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5819>

src/gallium/drivers/freedreno/freedreno_util.h

index 33e6f1458de6a61c135f90febf856d2e6c2d79e9..6f1442192e01234ca41c1095203395162812b7f4 100644 (file)
@@ -325,6 +325,7 @@ fd_msaa_samples(unsigned samples)
        switch (samples) {
        default:
                debug_assert(0);
+               /* fallthrough */
        case 0:
        case 1: return MSAA_ONE;
        case 2: return MSAA_TWO;