mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-27 13:54:16 +01:00
[dxvk] Enable shader-based depth-stencil copies for AMDVLK
Turns out to be slightly faster in practice.
This commit is contained in:
parent
9e965546fc
commit
596001c37e
@ -247,7 +247,9 @@ namespace dxvk {
|
|||||||
DxvkDevicePerfHints DxvkDevice::getPerfHints() {
|
DxvkDevicePerfHints DxvkDevice::getPerfHints() {
|
||||||
DxvkDevicePerfHints hints;
|
DxvkDevicePerfHints hints;
|
||||||
hints.preferFbDepthStencilCopy = m_extensions.extShaderStencilExport
|
hints.preferFbDepthStencilCopy = m_extensions.extShaderStencilExport
|
||||||
&& m_adapter->matchesDriver(DxvkGpuVendor::Amd, VK_DRIVER_ID_MESA_RADV_KHR, 0, 0);
|
&& (m_adapter->matchesDriver(DxvkGpuVendor::Amd, VK_DRIVER_ID_MESA_RADV_KHR, 0, 0)
|
||||||
|
|| m_adapter->matchesDriver(DxvkGpuVendor::Amd, VK_DRIVER_ID_AMD_OPEN_SOURCE_KHR, 0, 0)
|
||||||
|
|| m_adapter->matchesDriver(DxvkGpuVendor::Amd, VK_DRIVER_ID_AMD_PROPRIETARY_KHR, 0, 0));
|
||||||
return hints;
|
return hints;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user