freedreno: Force updating active queries on batch reordering.
The state of queries for the batch we've just switched to may not reflect the current active flag, so make sure that we update at the start of the next draw. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8873>
This commit is contained in:
@@ -255,6 +255,7 @@ fd_set_framebuffer_state(struct pipe_context *pctx,
|
||||
|
||||
fd_batch_reference(&ctx->batch, NULL);
|
||||
fd_context_all_dirty(ctx);
|
||||
ctx->update_active_queries = true;
|
||||
|
||||
if (old_batch && old_batch->blit && !old_batch->back_blit) {
|
||||
/* for blits, there is not really much point in hanging on
|
||||
|
||||
Reference in New Issue
Block a user