1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-01 16:24:12 +01:00

[d3d11] Tweak implicit flush limits

We're going to flush more often in CPU-limited scenarios, but these
new values are reasonable especially in games which submit large
amounts of GPU work at once, and should help reduce rendering latency.
Improves GPU utilization and frame rates in Hellblade by up to 10%.
This commit is contained in:
Philip Rebohle 2018-06-27 20:25:33 +02:00
parent 9fee253d09
commit 42a676bbdb
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -10,8 +10,8 @@ namespace dxvk {
class D3D11CommonTexture;
class D3D11ImmediateContext : public D3D11DeviceContext {
constexpr static uint32_t MinFlushIntervalUs = 2500;
constexpr static uint32_t MaxPendingSubmits = 2;
constexpr static uint32_t MinFlushIntervalUs = 1250;
constexpr static uint32_t MaxPendingSubmits = 3;
public:
D3D11ImmediateContext(