summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBruce Cherniak <[email protected]>2016-05-09 09:00:04 -0500
committerTim Rowley <[email protected]>2016-05-09 11:21:47 -0500
commit0062c5f09b4e0031425fdae8102c69cbef5cbff5 (patch)
tree14b0b164cd5a3562ae6e390bcc10bde63031b9fc /src
parentf33083a216563abac307c414bba2e32dc7405fea (diff)
swr: Add missing break in query switch statement.
Missed a switch break in query stat collection when refactoring queries. Reviewed-by: George Kyriazis <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/swr/swr_query.cpp1
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 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];