Vulkan: Cannot use inside Renderdoc
Renderdoc only export extensions it supports. `VK_EXT_dynamic_rendering_unused_attachments` is not supported by renderdoc and therefor no devices could be found to start the vulkan backend. In GHOST we already work around this issue by not checking this specific extension. We should do the same in VKBackend. Pull Request: https://projects.blender.org/blender/blender/pulls/127236
This commit is contained in:
@@ -151,7 +151,10 @@ bool VKBackend::is_supported()
|
||||
if (!extensions.contains(VK_KHR_DYNAMIC_RENDERING_EXTENSION_NAME)) {
|
||||
missing_capabilities.append(VK_KHR_DYNAMIC_RENDERING_EXTENSION_NAME);
|
||||
}
|
||||
if (!extensions.contains(VK_EXT_DYNAMIC_RENDERING_UNUSED_ATTACHMENTS_EXTENSION_NAME)) {
|
||||
/* VK_EXT_dynamic_rendering_unused_attachments is not supported by renderdoc. */
|
||||
if (!bool(G.debug & G_DEBUG_GPU) &&
|
||||
!extensions.contains(VK_EXT_DYNAMIC_RENDERING_UNUSED_ATTACHMENTS_EXTENSION_NAME))
|
||||
{
|
||||
missing_capabilities.append(VK_EXT_DYNAMIC_RENDERING_UNUSED_ATTACHMENTS_EXTENSION_NAME);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user