mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-04-01 09:25:24 +02:00
[dxvk] Re-enable secondary command buffers on desktop
This commit is contained in:
parent
a5370e4f67
commit
90ee5fe180
@ -449,9 +449,13 @@ namespace dxvk {
|
|||||||
applyTristate(tilerMode, m_options.tilerMode);
|
applyTristate(tilerMode, m_options.tilerMode);
|
||||||
hints.preferRenderPassOps = tilerMode;
|
hints.preferRenderPassOps = tilerMode;
|
||||||
|
|
||||||
// Be less aggressive on secondary command buffer usage on
|
// Honeykrisp does not have native support for secondary command buffers
|
||||||
// drivers that do not natively support them
|
// and would suffer from added CPU overhead, so be less aggressive.
|
||||||
hints.preferPrimaryCmdBufs = m_adapter->matchesDriver(VK_DRIVER_ID_MESA_HONEYKRISP) || !tilerMode;
|
// TODO: Enable ANV once mesa issue 12791 is resolved.
|
||||||
|
// RADV has issues on RDNA4 up to version 25.0.1.
|
||||||
|
hints.preferPrimaryCmdBufs = m_adapter->matchesDriver(VK_DRIVER_ID_MESA_HONEYKRISP)
|
||||||
|
|| m_adapter->matchesDriver(VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA)
|
||||||
|
|| m_adapter->matchesDriver(VK_DRIVER_ID_MESA_RADV, Version(), Version(25, 0, 2));
|
||||||
return hints;
|
return hints;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user