Skip to content

Commit

Permalink
HACK IGNORE SOURCE MAPPING FOR BRANCH INSTRUCTIONS
Browse files Browse the repository at this point in the history
  • Loading branch information
Zorro666 committed Jan 7, 2025
1 parent 246f979 commit babb3e8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions renderdoc/driver/shaders/dxil/dxil_disassemble.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@ bool ShouldIgnoreSourceMapping(const Instruction &inst)
}
}
}
// Do not set source mapping for branch instructions
else if(inst.op == Operation::Branch)
{
return false;
}
return false;
}

Expand Down

0 comments on commit babb3e8

Please sign in to comment.