From: Bruce Cherniak Date: Mon, 9 May 2016 14:00:04 +0000 (-0500) Subject: swr: Add missing break in query switch statement. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0062c5f09b4e0031425fdae8102c69cbef5cbff5;p=mesa.git swr: Add missing break in query switch statement. Missed a switch break in query stat collection when refactoring queries. Reviewed-by: George Kyriazis --- diff --git a/src/gallium/drivers/swr/swr_query.cpp b/src/gallium/drivers/swr/swr_query.cpp index 5c599654ba9..7867db3fc12 100644 --- a/src/gallium/drivers/swr/swr_query.cpp +++ b/src/gallium/drivers/swr/swr_query.cpp @@ -152,6 +152,7 @@ swr_get_query_result(struct pipe_context *pipe, break; case PIPE_QUERY_PRIMITIVES_GENERATED: result->u64 = end->core.IaPrimitives - start->core.IaPrimitives; + break; case PIPE_QUERY_PRIMITIVES_EMITTED: result->u64 = end->core.SoNumPrimsWritten[index] - start->core.SoNumPrimsWritten[index];