Remove spammy warning about no callstack entry found for instruction

This commit is contained in:
Jake Turner
2025-04-04 11:40:24 +01:00
parent d7025e6bf7
commit 6435986d2a
@@ -1616,7 +1616,6 @@ void ThreadState::FillCallstack(ShaderDebugState &state)
auto it = m_FunctionInfo->callstacks.upper_bound(state.nextInstruction);
if(it == m_FunctionInfo->callstacks.end())
{
RDCWARN("No callstack entry found for instruction %u", state.nextInstruction);
state.callstack.clear();
state.callstack.push_back(m_FunctionInfo->function->name);
return;
@@ -1631,7 +1630,6 @@ void ThreadState::FillCallstack(ShaderDebugState &state)
}
else
{
RDCWARN("No callstack entry found for instruction %u", state.nextInstruction);
state.callstack.clear();
state.callstack.push_back(m_FunctionInfo->function->name);
return;