Store mapping from instruction to disassembly line in shader debug trace

* This avoids having the UI need to do a scan and expecting to find
  "instruction:" on the start of a line.
* We also move the callstack to be stored per-step, and not in the line info
  mapping.
This commit is contained in:
baldurk
2020-01-24 16:14:35 +00:00
parent 14c1af06a3
commit 01461db738
17 changed files with 248 additions and 184 deletions
@@ -785,6 +785,11 @@ D3D_PRIMITIVE_TOPOLOGY Program::GetOutputTopology()
return D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST;
}
uint32_t Program::GetDisassemblyLine(uint32_t instruction) const
{
return 0;
}
void Program::MakeDisassemblyString()
{
RDCERR("Unimplemented DXIL::Program::MakeDisassemblyString()");