mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-01 10:05:40 +00:00
Handle DebugSourceContinued properly in SPIR-V
This commit is contained in:
@@ -462,6 +462,10 @@ void Reflector::RegisterOp(Iter it)
|
||||
dbg.params.size() > 1 ? strings[dbg.arg<Id>(1)] : rdcstr(),
|
||||
});
|
||||
}
|
||||
else if(dbg.inst == ShaderDbg::SourceContinued)
|
||||
{
|
||||
sources.back().contents += strings[dbg.arg<Id>(0)];
|
||||
}
|
||||
else if(dbg.inst == ShaderDbg::CompilationUnit)
|
||||
{
|
||||
sources[debugSources[dbg.arg<Id>(2)]].lang =
|
||||
|
||||
Reference in New Issue
Block a user