Reviewed-by: George Kyriazis <george.kyria...@intel.com>

> -----Original Message-----
> From: mesa-dev [mailto:mesa-dev-boun...@lists.freedesktop.org] On
> Behalf Of BruceCherniak
> Sent: Monday, May 9, 2016 9:00 AM
> To: mesa-dev@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@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to