mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-20 19:54:19 +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 {
|
||||
friend class DxvkSubmissionQueue;
|
||||
|
||||
constexpr static VkDeviceSize DefaultStagingBufferSize = 64 * 1024 * 1024;
|
||||
constexpr static VkDeviceSize DefaultStagingBufferSize = 16 * 1024 * 1024;
|
||||
public:
|
||||
|
||||
DxvkDevice(
|
||||
@ -297,9 +297,9 @@ namespace dxvk {
|
||||
Rc<vk::DeviceFn> m_vkd;
|
||||
VkPhysicalDeviceFeatures m_features;
|
||||
|
||||
Rc<DxvkMemoryAllocator> m_memory;
|
||||
Rc<DxvkRenderPassPool> m_renderPassPool;
|
||||
Rc<DxvkPipelineManager> m_pipelineManager;
|
||||
Rc<DxvkMemoryAllocator> m_memory;
|
||||
Rc<DxvkRenderPassPool> m_renderPassPool;
|
||||
Rc<DxvkPipelineManager> m_pipelineManager;
|
||||
|
||||
std::mutex m_submissionLock;
|
||||
VkQueue m_graphicsQueue = VK_NULL_HANDLE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user