Skip to content

zink: Do not submit cmdbufs that lack work

Lina Versace requested to merge linyaa/mesa:zink-reduce-noop-cmdbufs into main

I believe more command buffers can be eliminated, specifically those that do unneeded barriers (vkCmdPipelineBarrier). But this patch eliminates the large majority of unneeded command buffers in the workload I analyzed.

On an apitrace of Unturned on Intel RaptorLake, this MR reduced the number of VkCommandBuffer submissions from ~17k to ~12k (reduction 0.71x).

See: #10813

Edited by Lina Versace

Merge request reports