Skip to content

zink: fix query resets and some other bugs

Mike Blumenkrantz requested to merge zmike/mesa:zink-query into main

currently query resets only work "sometimes", but a lot of times they'll fail to actually reset and just trigger a pool overflow/assert immediately after like ../src/gallium/drivers/zink/zink_query.c:665: begin_query: Assertion q->curr_query < NUM_QUERIES' failed.`

this fixes that and also the dreaded u_inlines.h:349:pipe_buffer_map_range: Assertion length' failed.` which I suspect may have been the original reason I added the reverted patch

Edited by Mike Blumenkrantz

Merge request reports