From fb4a6645fc13d1b33ffad5bb4d33a315f684e6ef Mon Sep 17 00:00:00 2001 From: Jake Turner Date: Thu, 12 Dec 2024 15:35:38 +0000 Subject: [PATCH] DXIL Debugger ignore name on block predecessor Blocks are guaranteed to have a unique ID --- renderdoc/driver/shaders/dxil/dxil_debug.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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}); } }