Mesa (master): freedreno: fix missing fallthrough comments

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jul 9 02:33:05 UTC 2020


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

Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Wed Jul  8 19:00:55 2020 +1000

freedreno: fix missing fallthrough comments

Reviewed-by: Rob Clark <robdclark at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5819>

---

 src/gallium/drivers/freedreno/freedreno_util.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/freedreno/freedreno_util.h b/src/gallium/drivers/freedreno/freedreno_util.h
index 33e6f1458de..6f1442192e0 100644
--- a/src/gallium/drivers/freedreno/freedreno_util.h
+++ b/src/gallium/drivers/freedreno/freedreno_util.h
@@ -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;



More information about the mesa-commit mailing list