Skip to content

zink: move resource unrefs to flush thread

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

unrefs here (almost always) mean destruction, which means eating the cost of the atomics for the unrefs and then also the destructors on every batch reset

instead, handle this at the end of the next submit from this batch, since the submit thread is never as busy as the driver thread

Merge request reports

Loading