mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
DXIL Debugger ignore duplicate change if baseMemoryId == ptrId
This commit is contained in:
@@ -7655,7 +7655,7 @@ void ThreadState::OperationAtomic(const DXIL::Instruction &inst, DXIL::Operation
|
||||
}
|
||||
|
||||
// record the change to the ptr variable value
|
||||
bool recordPtrMemoryChange = m_HasDebugState && ptrId != resultId;
|
||||
bool recordPtrMemoryChange = m_HasDebugState && (ptrId != resultId) && (baseMemoryId != ptrId);
|
||||
RDCASSERT(IsVariableAssigned(ptrId));
|
||||
if(recordPtrMemoryChange)
|
||||
change.before = m_Variables[ptrId];
|
||||
|
||||
Reference in New Issue
Block a user