Only add wrapped resources to list on replay (which is single threaded)

This commit is contained in:
baldurk
2016-10-27 11:35:03 +02:00
parent 0832bff675
commit 88939d1f21
5 changed files with 25 additions and 13 deletions
+1 -1
View File
@@ -28,7 +28,7 @@
#include "d3d12_command_queue.h"
GPUAddressRangeTracker WrappedID3D12Resource::m_Addresses;
std::map<ResourceId, WrappedID3D12Resource *> WrappedID3D12Resource::m_List;
std::map<ResourceId, WrappedID3D12Resource *> *WrappedID3D12Resource::m_List = NULL;
std::map<WrappedID3D12PipelineState::DXBCKey, WrappedID3D12PipelineState::ShaderEntry *>
WrappedID3D12PipelineState::m_Shaders;