mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 09:50:08 +01:00
asahi: sync with query mismatches
otherwise the following assertion can fail. fixes crash in yuzu trace. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27616>
This commit is contained in:
parent
3b927567ac
commit
19da2f6d30
1 changed files with 2 additions and 2 deletions
|
|
@ -316,8 +316,8 @@ agx_add_query_to_batch(struct agx_batch *batch, struct agx_query *query,
|
|||
* could avoid this flush by merging query results.
|
||||
*/
|
||||
if (query->writer && query->writer != batch) {
|
||||
agx_flush_batch_for_reason(batch->ctx, query->writer,
|
||||
"Multiple query writers");
|
||||
agx_sync_batch_for_reason(batch->ctx, query->writer,
|
||||
"Multiple query writers");
|
||||
}
|
||||
|
||||
/* Allocate if needed */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue