mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-23 07:20:37 +02:00
swr: Add missing break in query switch statement.
Missed a switch break in query stat collection when refactoring queries. Reviewed-by: George Kyriazis <george.kyriazis@intel.com>
This commit is contained in:
parent
f33083a216
commit
0062c5f09b
1 changed files with 1 additions and 0 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue