DXIL Debugger ignore duplicate change if baseMemoryId == ptrId

This commit is contained in:
Jake Turner
2025-10-08 15:51:56 +01:00
parent 17e97ca1b0
commit f9788d1289
+1 -1
View File
@@ -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];