Skip to content

Commit

Permalink
Removed VK_EXT_buffer_device_address to fix a Vulkan validation error.
Browse files Browse the repository at this point in the history
  • Loading branch information
apanteleev committed Mar 21, 2023
1 parent 18062c0 commit a5ccc07
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/DLSS-VK.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,10 @@ void DLSS::GetRequiredVulkanExtensions(std::vector<std::string>& instanceExtensi

for (unsigned int i = 0; i < deviceExtCount; i++)
{
// VK_EXT_buffer_device_address is incompatible with Vulkan 1.2 and causes a validation error
if (!strcmp(pDeviceExtensions[i], VK_EXT_BUFFER_DEVICE_ADDRESS_EXTENSION_NAME))
continue;

deviceExtensions.push_back(pDeviceExtensions[i]);
}
}
Expand Down

0 comments on commit a5ccc07

Please sign in to comment.