Vulkan: Disable descriptor buffers

There are stability issues with the vulkan backend. Some scenes indicate
that there is no space left to allocate the next descriptor buffer. For
stability reasons we will disable descriptor buffers and look into a
better solution.

Pull Request: https://projects.blender.org/blender/blender/pulls/144421
This commit is contained in:
Jeroen Bakker
2025-08-12 10:28:28 +02:00
parent c95aa8dbd1
commit 3b8ea045da

View File

@@ -426,8 +426,11 @@ void VKBackend::detect_workarounds(VKDevice &device)
extensions.dynamic_rendering_unused_attachments = device.supports_extension(
VK_EXT_DYNAMIC_RENDERING_UNUSED_ATTACHMENTS_EXTENSION_NAME);
extensions.logic_ops = device.physical_device_features_get().logicOp;
/* For stability reasons descriptor buffers have been disabled. */
#if 0
extensions.descriptor_buffer = device.supports_extension(
VK_EXT_DESCRIPTOR_BUFFER_EXTENSION_NAME);
#endif
#ifdef _WIN32
extensions.external_memory = device.supports_extension(
VK_KHR_EXTERNAL_MEMORY_WIN32_EXTENSION_NAME);