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:
baldurk
2025-08-21 16:09:40 +01:00
parent e5158d74ae
commit ffa70fabdc
8 changed files with 47 additions and 4 deletions
+2
View File
@@ -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;