mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
freedreno: Associate the acc query bo with the batch.
Otherwise, a result query with wait won't trigger flushing the batch, and we can end up with zeroed results. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4356>
This commit is contained in:
parent
36612c96bd
commit
4a07839948
1 changed files with 2 additions and 0 deletions
|
|
@ -93,6 +93,8 @@ fd_acc_query_resume(struct fd_acc_query *aq, struct fd_batch *batch)
|
|||
|
||||
aq->batch = batch;
|
||||
p->resume(aq, aq->batch);
|
||||
|
||||
fd_batch_resource_used(batch, fd_resource(aq->prsc), true);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue