mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-24 07:26:34 +00:00
Auto-break on NonSemantic.DebugBreak instructions
* This is almost completely worthless as it seems at least NV and amdvlk both actually crash the GPU on this instruction, meaning there's no way to get it to the shader debugger. But on other drivers like radv, or maybe if this is fixed in future, this will be useful. * For this reason it also can't be tested automatically.
This commit is contained in:
@@ -2617,6 +2617,8 @@ void ShaderViewer::runTo(const rdcarray<uint32_t> &runToInstructions, bool forwa
|
||||
if(!m_Trace || m_States.empty())
|
||||
return;
|
||||
|
||||
condition |= ShaderEvents::DebugBreak;
|
||||
|
||||
m_VariablesChanged.clear();
|
||||
|
||||
bool firstStep = true;
|
||||
|
||||
Reference in New Issue
Block a user