Skip to content

Commit

Permalink
DXIL Debugger ignore name on block predecessor
Browse files Browse the repository at this point in the history
Blocks are guaranteed to have a unique ID
  • Loading branch information
Zorro666 committed Dec 12, 2024
1 parent b91d692 commit fb4a664
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions renderdoc/driver/shaders/dxil/dxil_debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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});
}
}

Expand Down

0 comments on commit fb4a664

Please sign in to comment.