diff --git a/renderdoc/driver/shaders/spirv/spirv_debug.cpp b/renderdoc/driver/shaders/spirv/spirv_debug.cpp index 0eb458a0c..6d3f43710 100644 --- a/renderdoc/driver/shaders/spirv/spirv_debug.cpp +++ b/renderdoc/driver/shaders/spirv/spirv_debug.cpp @@ -575,7 +575,7 @@ void ThreadState::SkipIgnoredInstructions() { Iter it = debugger.GetIterForInstruction(nextInstruction); rdcspv::Op op = it.opcode(); - if(op == Op::Line || op == Op::NoLine) + if(op == Op::Line || op == Op::NoLine || op == Op::Undef) { nextInstruction++; continue;