[Mesa-dev] [PATCH] swr: Add missing break in query switch statement.
Kyriazis, George
george.kyriazis at intel.com
Mon May 9 16:12:22 UTC 2016
Reviewed-by: George Kyriazis <george.kyriazis at intel.com>
> -----Original Message-----
> From: mesa-dev [mailto:mesa-dev-bounces at lists.freedesktop.org] On
> Behalf Of BruceCherniak
> Sent: Monday, May 9, 2016 9:00 AM
> To: mesa-dev at lists.freedesktop.org
> Subject: [Mesa-dev] [PATCH] swr: Add missing break in query switch
> statement.
>
> Missed a switch break in query stat collection when refactoring queries.
> ---
> src/gallium/drivers/swr/swr_query.cpp | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/src/gallium/drivers/swr/swr_query.cpp
> b/src/gallium/drivers/swr/swr_query.cpp
> index 5c59965..7867db3 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];
> --
> 1.7.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list