[dxvk] Re-enable maintenance4 feature

Sileces some validation errors.
This commit is contained in:
Philip Rebohle 2024-04-16 14:54:47 +02:00
parent 7441137a33
commit 6ef98c613f
1 changed files with 5 additions and 0 deletions

View File

@ -346,6 +346,11 @@ namespace dxvk {
enabledFeatures.vk13.synchronization2 = VK_TRUE;
enabledFeatures.vk13.dynamicRendering = VK_TRUE;
// Maintenance4 may cause performance problems on amdvlk in some cases
if (m_deviceInfo.vk12.driverID != VK_DRIVER_ID_AMD_OPEN_SOURCE
&& m_deviceInfo.vk12.driverID != VK_DRIVER_ID_AMD_PROPRIETARY)
enabledFeatures.vk13.maintenance4 = VK_TRUE;
// We expose depth clip rather than depth clamp to client APIs
enabledFeatures.extDepthClipEnable.depthClipEnable =
m_deviceFeatures.extDepthClipEnable.depthClipEnable;