Mesa (master): zink: fix missing fallthrough comment
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jul 9 02:33:05 UTC 2020
Module: Mesa
Branch: master
Commit: 8f6d66d5094ee45f8b1ff6487a575e6c7fe90220
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f6d66d5094ee45f8b1ff6487a575e6c7fe90220
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date: Wed Jul 8 20:44:37 2020 +1000
zink: fix missing fallthrough comment
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5819>
---
src/gallium/drivers/zink/zink_query.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/zink/zink_query.c b/src/gallium/drivers/zink/zink_query.c
index 10cb9b0750f..cd4a65332e3 100644
--- a/src/gallium/drivers/zink/zink_query.c
+++ b/src/gallium/drivers/zink/zink_query.c
@@ -31,6 +31,7 @@ convert_query_type(unsigned query_type, bool *use_64bit, bool *precise)
case PIPE_QUERY_OCCLUSION_COUNTER:
*precise = true;
*use_64bit = true;
+ /* fallthrough */
case PIPE_QUERY_OCCLUSION_PREDICATE:
case PIPE_QUERY_OCCLUSION_PREDICATE_CONSERVATIVE:
return VK_QUERY_TYPE_OCCLUSION;
More information about the mesa-commit
mailing list