mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-15 07:29:17 +01:00
[dxvk] Don't use secondary command buffers on ANV
This commit is contained in:
parent
443e7cc99d
commit
ba0dc850cf
@ -449,9 +449,11 @@ 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
|
// Be less aggressive on secondary command buffer usage on drivers that
|
||||||
// drivers that do not natively support them
|
// do not natively support them.
|
||||||
hints.preferPrimaryCmdBufs = m_adapter->matchesDriver(VK_DRIVER_ID_MESA_HONEYKRISP);
|
// TODO ANV currently seems tobe buggy, revisit once we know more.
|
||||||
|
hints.preferPrimaryCmdBufs = m_adapter->matchesDriver(VK_DRIVER_ID_MESA_HONEYKRISP)
|
||||||
|
|| m_adapter->matchesDriver(VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA);
|
||||||
return hints;
|
return hints;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user