From 4b7e7f5df1df9fe26efca034a6e558e47868a6df Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 11 Jan 2018 15:33:43 +0000 Subject: [PATCH] Add section type for embedded AMD RGP profiles --- renderdoc/api/replay/renderdoc_tostr.inl | 1 + renderdoc/api/replay/replay_enums.h | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/renderdoc/api/replay/renderdoc_tostr.inl b/renderdoc/api/replay/renderdoc_tostr.inl index 05be77d42..ade5df5e5 100644 --- a/renderdoc/api/replay/renderdoc_tostr.inl +++ b/renderdoc/api/replay/renderdoc_tostr.inl @@ -803,6 +803,7 @@ std::string DoStringise(const SectionType &el) STRINGISE_ENUM_CLASS_NAMED(Bookmarks, "renderdoc/ui/bookmarks"); STRINGISE_ENUM_CLASS_NAMED(Notes, "renderdoc/ui/notes"); STRINGISE_ENUM_CLASS_NAMED(ResourceRenames, "renderdoc/ui/resrenames"); + STRINGISE_ENUM_CLASS_NAMED(AMDRGPProfile, "amd/rgp/profile"); } END_ENUM_STRINGISE(); } diff --git a/renderdoc/api/replay/replay_enums.h b/renderdoc/api/replay/replay_enums.h index dcc5a7bcc..48de2d96a 100644 --- a/renderdoc/api/replay/replay_enums.h +++ b/renderdoc/api/replay/replay_enums.h @@ -70,6 +70,12 @@ version of RenderDoc that addes a new section type. They should be considered eq above any friendly names specified in the capture itself. The name for this section will be "renderdoc/ui/resrenames". + +.. data:: AMDRGPProfile + + This section contains a .rgp profile from AMD's RGP tool, which can be extracted and loaded. + + The name for this section will be "amd/rgp/profile". )"); enum class SectionType : uint32_t { @@ -80,6 +86,7 @@ enum class SectionType : uint32_t Bookmarks, Notes, ResourceRenames, + AMDRGPProfile, Count, };