Update Spirv DebugBreak to work with multi-threading

Use pendingDebugState instead of m_State
This commit is contained in:
Jake Turner
2025-10-04 11:20:11 +01:00
parent 0809a6dd3f
commit 95b98c81f1
@@ -476,7 +476,7 @@ DeviceOpResult ThreadState::ReadPointerValue(Id pointer, ShaderVariable &ret)
void ThreadState::DebugBreak()
{
if(m_State)
m_State->flags |= ShaderEvents::DebugBreak;
pendingDebugState.flags |= ShaderEvents::DebugBreak;
}
void ThreadState::SetDst(Id id, const ShaderVariable &val)