update parallel rsp/rdp

This commit is contained in:
Logan McNaughton
2023-04-28 13:55:30 -06:00
parent e0b6b4f453
commit 1ab974bad3
279 changed files with 151392 additions and 1467 deletions
+3 -2
View File
@@ -1185,7 +1185,8 @@ bool Context::create_device(VkPhysicalDevice gpu_, VkSurfaceKHR surface,
if ((flags & CONTEXT_CREATION_ENABLE_ADVANCED_WSI_BIT) != 0 && requires_swapchain)
{
bool broken_present_wait = ext.driver_properties.driverID == VK_DRIVER_ID_NVIDIA_PROPRIETARY;
bool broken_present_wait = ext.driver_properties.driverID == VK_DRIVER_ID_NVIDIA_PROPRIETARY &&
VK_VERSION_MAJOR(gpu_props.driverVersion) == 525;
if (broken_present_wait)
{
@@ -1280,7 +1281,7 @@ bool Context::create_device(VkPhysicalDevice gpu_, VkSurfaceKHR surface,
device_info.pNext = &pdf2;
if (has_extension(VK_EXT_EXTERNAL_MEMORY_HOST_EXTENSION_NAME))
if (ext.supports_external && has_extension(VK_EXT_EXTERNAL_MEMORY_HOST_EXTENSION_NAME))
{
ext.supports_external_memory_host = true;
enabled_extensions.push_back(VK_EXT_EXTERNAL_MEMORY_HOST_EXTENSION_NAME);