zink: always set number of timestamp results to 1 for internal qbo
timestamp queries don't accumulate results
Fixes: 93190be1b9
("zink: rewrite query internals")
Reviewed-by: Hoe Hao Cheng <haochengho12907@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14397>
This commit is contained in:
parent
8b46d83637
commit
bf9ac4dfcd
|
@ -650,6 +650,8 @@ update_qbo(struct zink_context *ctx, struct zink_query *q)
|
|||
|
||||
if (!is_timestamp)
|
||||
q->curr_qbo->num_results++;
|
||||
else
|
||||
q->curr_qbo->num_results = 1;
|
||||
q->needs_update = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue