diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-11-26 02:20:44 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-11-26 02:20:44 +0000 |
| commit | 36f11d692acd2272c4b15b34a3753f565310a074 (patch) | |
| tree | a99bf7c0614124c6e8183771cabfc8af52c745d2 /Graphics/GraphicsEngine | |
| parent | Updated volk submodule (diff) | |
| download | DiligentCore-36f11d692acd2272c4b15b34a3753f565310a074.tar.gz DiligentCore-36f11d692acd2272c4b15b34a3753f565310a074.zip | |
DeviceContextVkImpl: removed duplicate m_NumCommandsToFlush that was incorrectly used insted of the base class member causing too many flushes. Increased NumCommandsToFlushCmdList to 2048.
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/interface/GraphicsTypes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngine/interface/GraphicsTypes.h b/Graphics/GraphicsEngine/interface/GraphicsTypes.h index 41fd8210..816d8194 100644 --- a/Graphics/GraphicsEngine/interface/GraphicsTypes.h +++ b/Graphics/GraphicsEngine/interface/GraphicsTypes.h @@ -2070,7 +2070,7 @@ struct EngineD3D12CreateInfo DILIGENT_DERIVE(EngineCreateInfo) /// Number of commands to flush the command list. Only draw/dispatch commands count /// towards the limit. Command lists are only flushed when pipeline state is changed /// or when backbuffer is presented. - Uint32 NumCommandsToFlushCmdList DEFAULT_INITIALIZER(256); + Uint32 NumCommandsToFlushCmdList DEFAULT_INITIALIZER(2048); /// A device context uses dynamic heap when it needs to allocate temporary /// CPU-accessible memory to update a resource via IDeviceContext::UpdateBuffer() or @@ -2172,7 +2172,7 @@ struct EngineVkCreateInfo DILIGENT_DERIVE(EngineCreateInfo) /// Number of commands to flush the command buffer. Only draw/dispatch commands count /// towards the limit. Command buffers are only flushed when pipeline state is changed /// or when backbuffer is presented. - Uint32 NumCommandsToFlushCmdBuffer DEFAULT_INITIALIZER(256); + Uint32 NumCommandsToFlushCmdBuffer DEFAULT_INITIALIZER(2048); /// Size of the main descriptor pool that is used to allocate descriptor sets /// for static and mutable variables. If allocation from the current pool fails, |
