Merge pull request #7312 from MarcZX100/codex/native-depth-command-pool-reset-7311

test(agc): allow native depth fixture command buffer resets
This commit is contained in:
Dean authored and GitHub committed 2026-10-18 12:09:04 +13:00
commit 5de7a46e0b
1 file changed
+1
@@ -104,6 +104,7 @@ public:
function<PFN_vkGetPhysicalDeviceMemoryProperties>("vkGetPhysicalDeviceMemoryProperties")(context.physical, &context.memory);
context.Function<PFN_vkGetDeviceQueue>("vkGetDeviceQueue")(context.device, family, 0u, &context.queue);
VkCommandPoolCreateInfo pool{VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO};
pool.flags = VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT;
pool.queueFamilyIndex = family;
Check(context.Function<PFN_vkCreateCommandPool>("vkCreateCommandPool")(context.device, &pool, nullptr, &context.pool), "vkCreateCommandPool");
} catch (...) { release(); throw; }