Mark command pools as transient

This commit is contained in:
Patrick Nicolas
2026-04-11 16:55:02 +02:00
parent d535f38938
commit 6ab58430e2
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -157,7 +157,7 @@ vk::raii::CommandPool make_cmd_pool(wivrn::vk_bundle & vk, uint8_t stream_idx)
{
auto res = vk.device.createCommandPool(vk::CommandPoolCreateInfo{
.flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer,
.flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer | vk::CommandPoolCreateFlagBits::eTransient,
.queueFamilyIndex = vk.queue_family_index,
});
vk.name(res, std::format("vaapi encoder {} command pool", stream_idx));