summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2013-06-27 18:56:26 +0200
committerRoland Scheidegger <[email protected]>2013-06-27 19:06:40 +0200
commitb04a295a4a0cd2defe352b3193b5fa79ca8fc9fc (patch)
tree740e75832688d1e8257185ab97ca87abdf73c5b3 /src
parent59b8689d3706fbb739d9b15943907ae67f35de95 (diff)
llvmpipe: remove never reached code for timestamp queries.
timestamp queries are always binned in an active scene, therefore always have a result.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_query.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_query.c b/src/gallium/drivers/llvmpipe/lp_query.c
index ac6d09d9a0f..cea2d07394e 100644
--- a/src/gallium/drivers/llvmpipe/lp_query.c
+++ b/src/gallium/drivers/llvmpipe/lp_query.c
@@ -134,8 +134,6 @@ llvmpipe_get_query_result(struct pipe_context *pipe,
if (pq->end[i] > *result) {
*result = pq->end[i];
}
- if (*result == 0)
- *result = os_time_get_nano();
}
break;
case PIPE_QUERY_TIMESTAMP_DISJOINT: {