From 2004fba22cdc960ee944f84877064b6884b5683c Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Fri, 24 Jan 2020 05:44:20 +0000 Subject: [PATCH] [util] Disable d3d9.allowDoNotWait for RTHDRIBL This app goes into an infinite loop if it gets D3DERR_WASSTILLDRAWING and the perf penalty of blocking on GetRenderTargetData in other apps is too high! --- src/util/config/config.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp index b8c2758a..cbc735e9 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -305,6 +305,15 @@ namespace dxvk { { R"(\\TESV\.exe$)", {{ { "d3d9.customVendorId", "1002" }, }} }, + /* RTHDRIBL Demo + Uses DONOTWAIT after GetRenderTargetData + then goes into an infinite loop if it gets + D3DERR_WASSTILLDRAWING. + This is a better solution than penalizing + other apps that use this properly. */ + { R"(\\rthdribl\.exe$)", {{ + { "d3d9.allowDoNotWait", "False" }, + }} }, }};