From f14bccc8c3af950c38aac1574ae5318c09f6d62c Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Thu, 3 Mar 2022 17:33:14 +0100 Subject: [PATCH] [util] Use CPU-cached constant buffers for Anno 1800 Sigh. --- src/util/config/config.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp index 6fadd977..31ce634d 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -68,6 +68,10 @@ namespace dxvk { { R"(\\anno2205\.exe$)", {{ { "dxvk.enableStateCache", "False" }, }} }, + /* Anno 1800: Poor performance without this */ + { R"(\\Anno1800\.exe$)", {{ + { "d3d11.cachedDynamicResources", "c" }, + }} }, /* Fifa '19+: Binds typed buffer SRV to shader * * that expects raw/structured buffer SRV */ { R"(\\FIFA(19|[2-9][0-9])(_demo)?\.exe$)", {{