Commit 0062c5f0 authored by Bruce Cherniak's avatar Bruce Cherniak Committed by Tim Rowley

swr: Add missing break in query switch statement.

Missed a switch break in query stat collection when refactoring queries.
Reviewed-by: George Kyriazis's avatarGeorge Kyriazis <george.kyriazis@intel.com>
parent f33083a2
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment