projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20dff7d
)
zink: fix missing fallthrough comment
author
Timothy Arceri
<tarceri@itsqueeze.com>
Wed, 8 Jul 2020 10:44:37 +0000
(20:44 +1000)
committer
Timothy Arceri
<tarceri@itsqueeze.com>
Thu, 9 Jul 2020 02:08:47 +0000
(12:08 +1000)
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5819>
src/gallium/drivers/zink/zink_query.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/zink/zink_query.c
b/src/gallium/drivers/zink/zink_query.c
index 10cb9b0750f2f055dda9900711e453edd1d50df9..cd4a65332e344131dc7228eeb107c6cc4dded42a 100644
(file)
--- 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;