Skip to content

vulkan/cmd_buffers: add support for command pool trim and use in radv/tu/lvp

Dave Airlie requested to merge airlied/mesa:vk-cmd-pool-reuse-radv into main

This is an opt in feature to allow drivers to have a cmd pool that reuses freed command buffers.

The driver needs to provide AllocateCommandBuffers that uses this and enable the device->cmd_buffer_reuse flag.

This also adds support to radv, and removes lots of code.

Edited by Dave Airlie

Merge request reports

Loading