mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 21:30:53 +00:00
Update Spirv DebugBreak to work with multi-threading
Use pendingDebugState instead of m_State
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user