summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Arceri <tarceri@itsqueeze.com>2020-07-08 19:00:55 +1000
committerTimothy Arceri <tarceri@itsqueeze.com>2020-07-09 12:07:37 +1000
commit03a5b3f6d5a89a1de3352283b9dc1f45ab5a25d7 (patch)
tree7408234eceb345815c9b4c64a849e0df9fa3b4a7
parent40e00c800cf863ddf75b65b249968031ecbf52d6 (diff)
freedreno: fix missing fallthrough comments
Reviewed-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5819>
-rw-r--r--src/gallium/drivers/freedreno/freedreno_util.h1
1 files changed, 1 insertions, 0 deletions
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;