Fix #141806: Crash with certain layers enabled
This PR removes the deferred allocation of swapchain images. A lot of layers don't support this and will crash when used. Thanks to Jorn Visser to point out the potential issue. Pull Request: https://projects.blender.org/blender/blender/pulls/143924
This commit is contained in:
@@ -1050,7 +1050,6 @@ GHOST_TSuccess GHOST_ContextVK::recreateSwapchain(bool use_hdr_swapchain)
|
||||
create_info.sType = VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR;
|
||||
if (vulkan_device->use_vk_ext_swapchain_maintenance_1) {
|
||||
create_info.pNext = &vk_swapchain_present_scaling;
|
||||
create_info.flags = VK_SWAPCHAIN_CREATE_DEFERRED_MEMORY_ALLOCATION_BIT_EXT;
|
||||
}
|
||||
create_info.surface = m_surface;
|
||||
create_info.minImageCount = image_count_requested;
|
||||
|
||||
Reference in New Issue
Block a user