mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-22 06:26:30 +00:00
Clear the replay proxy shader reflection cache in ReloadShaderDebugInfo
This commit is contained in:
@@ -1376,6 +1376,11 @@ void ReplayProxy::Proxied_ReloadShaderDebugInformation(ParamSerialiser ¶mser
|
||||
const ReplayProxyPacket expectedPacket = eReplayProxy_ReloadShaderDebugInformation;
|
||||
ReplayProxyPacket packet = eReplayProxy_ReloadShaderDebugInformation;
|
||||
|
||||
// Clear the shader refleciton cache
|
||||
for(auto it = m_ShaderReflectionCache.begin(); it != m_ShaderReflectionCache.end(); ++it)
|
||||
delete it->second;
|
||||
m_ShaderReflectionCache.clear();
|
||||
|
||||
{
|
||||
BEGIN_PARAMS();
|
||||
END_PARAMS();
|
||||
|
||||
Reference in New Issue
Block a user