Add a debug option to embed the log file in captures

This commit is contained in:
baldurk committed 2020-07-29 10:59:18 +01:00
1 parent 23fc093a67
commit 5af3a4e23b
3 files changed
+28

No files matched your search

+1
View File
@@ -1013,6 +1013,7 @@ rdcstr DoStringise(const SectionType &el)
STRINGISE_ENUM_CLASS_NAMED(ResourceRenames, "renderdoc/ui/resrenames");
STRINGISE_ENUM_CLASS_NAMED(AMDRGPProfile, "amd/rgp/profile");
STRINGISE_ENUM_CLASS_NAMED(ExtendedThumbnail, "renderdoc/internal/exthumb");
STRINGISE_ENUM_CLASS_NAMED(EmbeddedLogfile, "renderdoc/internal/logfile");
}
END_ENUM_STRINGISE();
}
+7
View File
@@ -86,6 +86,12 @@ version of RenderDoc that addes a new section type. They should be considered eq
lossless.
The name for this section will be "renderdoc/internal/exthumb".
.. data:: EmbeddedLogfile
This section contains the log file at the time of capture, for debugging.
The name for this section will be "renderdoc/internal/logfile".
)");
enum class SectionType : uint32_t
{
@@ -98,6 +104,7 @@ enum class SectionType : uint32_t
ResourceRenames,
AMDRGPProfile,
ExtendedThumbnail,
EmbeddedLogfile,
Count,
};