diff --git a/renderdoc/driver/shaders/dxil/dxil_debug.cpp b/renderdoc/driver/shaders/dxil/dxil_debug.cpp index 69eb3a8488..0eacd92da4 100644 --- a/renderdoc/driver/shaders/dxil/dxil_debug.cpp +++ b/renderdoc/driver/shaders/dxil/dxil_debug.cpp @@ -6790,12 +6790,9 @@ ShaderDebugTrace *Debugger::BeginDebug(uint32_t eventId, const DXBC::DXBCContain { for(const Block *pred : block->preds) { - if(pred->name.empty()) - { - uint32_t from = pred->id; - uint32_t to = block->id; - links.push_back({from, to}); - } + uint32_t from = pred->id; + uint32_t to = block->id; + links.push_back({from, to}); } }