From b04a295a4a0cd2defe352b3193b5fa79ca8fc9fc Mon Sep 17 00:00:00 2001 From: Roland Scheidegger Date: Thu, 27 Jun 2013 18:56:26 +0200 Subject: llvmpipe: remove never reached code for timestamp queries. timestamp queries are always binned in an active scene, therefore always have a result. --- src/gallium/drivers/llvmpipe/lp_query.c | 2 -- 1 file changed, 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: { -- cgit v1.2.3