Mesa (master): gallium: update fallthrough comments

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Dec 1 09:34:58 UTC 2020


Module: Mesa
Branch: master
Commit: c7986febf276c2439fc476af09c301f37e7dbc67
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c7986febf276c2439fc476af09c301f37e7dbc67

Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Tue Nov 24 11:29:35 2020 +0100

gallium: update fallthrough comments

Reviewed-by: Kristian H. Kristensen <hoegsberg at google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7747>

---

 src/gallium/frontends/dri/dri2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/frontends/dri/dri2.c b/src/gallium/frontends/dri/dri2.c
index 0c0168497a2..2f4454a1b60 100644
--- a/src/gallium/frontends/dri/dri2.c
+++ b/src/gallium/frontends/dri/dri2.c
@@ -523,7 +523,7 @@ dri2_allocate_textures(struct dri_context *ctx,
             if (!screen->auto_fake_front) {
                continue; /* invalid attachment */
             }
-            /* fallthrough */
+            FALLTHROUGH;
          case __DRI_BUFFER_FAKE_FRONT_LEFT:
             statt = ST_ATTACHMENT_FRONT_LEFT;
             break;



More information about the mesa-commit mailing list