mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 01:00:10 +01:00
llvmpipe: remove never reached code for timestamp queries.
timestamp queries are always binned in an active scene, therefore always have a result.
This commit is contained in:
parent
59b8689d37
commit
b04a295a4a
1 changed files with 0 additions and 2 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue