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:
parent
a0b517c3d3
commit
e9fed62676
@ -433,6 +433,8 @@ namespace dxvk {
|
||||
// to interpret the clear color in render pass clears.
|
||||
hints.renderPassClearFormatBug = m_adapter->matchesDriver(
|
||||
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;
|
||||
}
|
||||
|
||||
|
@ -38,6 +38,7 @@ namespace dxvk {
|
||||
VkBool32 preferFbDepthStencilCopy : 1;
|
||||
VkBool32 preferFbResolve : 1;
|
||||
VkBool32 renderPassClearFormatBug : 1;
|
||||
VkBool32 preferRenderPassOps : 1;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user