1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-24 13:54:17 +01:00

[dxvk] Add perf hint for tiling GPUs

This commit is contained in:
Philip Rebohle 2025-02-05 18:51:15 +01:00
parent a0b517c3d3
commit e9fed62676
2 changed files with 3 additions and 0 deletions

View File

@ -433,6 +433,8 @@ namespace dxvk {
// to interpret the clear color in render pass clears. // to interpret the clear color in render pass clears.
hints.renderPassClearFormatBug = m_adapter->matchesDriver( hints.renderPassClearFormatBug = m_adapter->matchesDriver(
VK_DRIVER_ID_NVIDIA_PROPRIETARY, Version(), Version(560, 28, 3)); VK_DRIVER_ID_NVIDIA_PROPRIETARY, Version(), Version(560, 28, 3));
// On tilers we need to respect render passes some more
hints.preferRenderPassOps = m_adapter->matchesDriver(VK_DRIVER_ID_MESA_TURNIP);
return hints; return hints;
} }

View File

@ -38,6 +38,7 @@ namespace dxvk {
VkBool32 preferFbDepthStencilCopy : 1; VkBool32 preferFbDepthStencilCopy : 1;
VkBool32 preferFbResolve : 1; VkBool32 preferFbResolve : 1;
VkBool32 renderPassClearFormatBug : 1; VkBool32 renderPassClearFormatBug : 1;
VkBool32 preferRenderPassOps : 1;
}; };
/** /**