mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-22 07:54:15 +01:00
[dxvk] Reduced staging buffer size
Allocating as much memory as we did was wasteful. The new limit may still be too generous for most applications, but this will require more testing.
This commit is contained in:
parent
ab2c7de523
commit
ee796b966d
@ -33,7 +33,7 @@ namespace dxvk {
|
|||||||
class DxvkDevice : public RcObject {
|
class DxvkDevice : public RcObject {
|
||||||
friend class DxvkSubmissionQueue;
|
friend class DxvkSubmissionQueue;
|
||||||
|
|
||||||
constexpr static VkDeviceSize DefaultStagingBufferSize = 64 * 1024 * 1024;
|
constexpr static VkDeviceSize DefaultStagingBufferSize = 16 * 1024 * 1024;
|
||||||
public:
|
public:
|
||||||
|
|
||||||
DxvkDevice(
|
DxvkDevice(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user