Mesa (master): radeonsi: add missing fallthrough comment

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jul 3 00:33:04 UTC 2020


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

Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Wed Jul  1 15:37:02 2020 +1000

radeonsi: add missing fallthrough comment

Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5705>

---

 src/gallium/drivers/radeonsi/si_query.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/radeonsi/si_query.c b/src/gallium/drivers/radeonsi/si_query.c
index eecfebadd51..50186b6e28d 100644
--- a/src/gallium/drivers/radeonsi/si_query.c
+++ b/src/gallium/drivers/radeonsi/si_query.c
@@ -1223,6 +1223,7 @@ static void si_get_hw_query_params(struct si_context *sctx, struct si_query_hw *
    case PIPE_QUERY_SO_OVERFLOW_ANY_PREDICATE:
       params->pair_count = SI_MAX_STREAMS;
       params->pair_stride = 32;
+      /* fallthrough */
    case PIPE_QUERY_SO_OVERFLOW_PREDICATE:
       params->start_offset = 0;
       params->end_offset = 16;



More information about the mesa-commit mailing list