Skip to content

Commit 06904ea

Browse files
committed
HACK IGNORE SOURCE MAPPING FOR BRANCH INSTRUCTIONS
1 parent ec7fcad commit 06904ea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

renderdoc/driver/shaders/dxil/dxil_disassemble.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,11 @@ bool ShouldIgnoreSourceMapping(const Instruction &inst)
152152
}
153153
}
154154
}
155+
// Do not set source mapping for branch instructions
156+
else if(inst.op == Operation::Branch)
157+
{
158+
return false;
159+
}
155160
return false;
156161
}
157162

0 commit comments

Comments
 (0)