zink: fix missing fallthrough comment
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 8 Jul 2020 10:44:37 +0000 (20:44 +1000)
committerTimothy 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

index 10cb9b0750f2f055dda9900711e453edd1d50df9..cd4a65332e344131dc7228eeb107c6cc4dded42a 100644 (file)
@@ -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;