mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 13:00:32 +00:00
Set informational chunkIndex attribute on XML export
* This is useful to be able to tie a particular chunk when replaying to its location in the XML, where event IDs are hard to come by.
This commit is contained in:
@@ -477,6 +477,7 @@ static RDResult Structured2XML(const rdcstr &filename, const RDCFile &file, uint
|
||||
SDChunk *chunk = chunks[c];
|
||||
|
||||
xChunk.append_attribute("id") = chunk->metadata.chunkID;
|
||||
xChunk.append_attribute("chunkIndex") = c;
|
||||
xChunk.append_attribute("name") = chunk->name.c_str();
|
||||
xChunk.append_attribute("length") = chunk->metadata.length;
|
||||
if(chunk->metadata.threadID)
|
||||
|
||||
Reference in New Issue
Block a user