From ba0dc850cf6978b52b017d0e52fe5b140d21b638 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Sun, 9 Mar 2025 21:19:40 +0100 Subject: [PATCH] [dxvk] Don't use secondary command buffers on ANV --- src/dxvk/dxvk_device.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/dxvk/dxvk_device.cpp b/src/dxvk/dxvk_device.cpp index 7b6aafb3a..d37388414 100644 --- a/src/dxvk/dxvk_device.cpp +++ b/src/dxvk/dxvk_device.cpp @@ -449,9 +449,11 @@ namespace dxvk { applyTristate(tilerMode, m_options.tilerMode); hints.preferRenderPassOps = tilerMode; - // Be less aggressive on secondary command buffer usage on - // drivers that do not natively support them - hints.preferPrimaryCmdBufs = m_adapter->matchesDriver(VK_DRIVER_ID_MESA_HONEYKRISP); + // Be less aggressive on secondary command buffer usage on drivers that + // do not natively support them. + // 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; }