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

[dxvk] Reorder command list reset operations by importance

This commit is contained in:
Philip Rebohle 2019-06-26 23:02:23 +02:00
parent 7491c06389
commit c3ebf4658c
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -121,13 +121,23 @@ namespace dxvk {
void DxvkCommandList::reset() {
m_statCounters.reset();
// Signal resources and events to
// avoid stalling main thread
m_eventTracker.reset();
m_resources.reset();
// Recycle heavy Vulkan objects
m_descriptorPoolTracker.reset();
// Return buffer memory slices
m_bufferTracker.reset();
// Return query and event handles
m_gpuQueryTracker.reset();
m_gpuEventTracker.reset();
m_eventTracker.reset();
m_descriptorPoolTracker.reset();
m_resources.reset();
// Less important stuff
m_statCounters.reset();
}
}