From defb91abc10cdb82990722089939eb0c3e737337 Mon Sep 17 00:00:00 2001 From: Dmytro Bulatov Date: Thu, 3 Oct 2024 01:55:29 +0900 Subject: [PATCH] Added Custom GPU Context Type --- profiler/src/profiler/TracyView.hpp | 3 ++- public/common/TracyQueue.hpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/profiler/src/profiler/TracyView.hpp b/profiler/src/profiler/TracyView.hpp index 24767e82..1c1ee4b1 100644 --- a/profiler/src/profiler/TracyView.hpp +++ b/profiler/src/profiler/TracyView.hpp @@ -38,7 +38,8 @@ constexpr const char* GpuContextNames[] = { "OpenCL", "Direct3D 12", "Direct3D 11", - "Metal" + "Metal", + "Custom" }; struct MemoryPage; diff --git a/public/common/TracyQueue.hpp b/public/common/TracyQueue.hpp index ec448d72..b17d9a41 100644 --- a/public/common/TracyQueue.hpp +++ b/public/common/TracyQueue.hpp @@ -402,7 +402,8 @@ enum class GpuContextType : uint8_t OpenCL, Direct3D12, Direct3D11, - Metal + Metal, + Custom }; enum GpuContextFlags : uint8_t