mirror of
https://github.com/wolfpld/tracy.git
synced 2026-09-14 22:34:26 +00:00
Change rocprof context name
This commit is contained in:
@@ -41,7 +41,8 @@ constexpr const char* GpuContextNames[] = {
|
||||
"Direct3D 11",
|
||||
"Metal",
|
||||
"Custom",
|
||||
"CUDA"
|
||||
"CUDA",
|
||||
"Rocprof"
|
||||
};
|
||||
|
||||
struct MemoryPage;
|
||||
|
||||
@@ -102,7 +102,7 @@ uint8_t gpu_context_allocate( ToolData* data )
|
||||
tracy::MemWrite( &item->gpuNewContext.period, timestamp_period );
|
||||
tracy::MemWrite( &item->gpuNewContext.context, context_id );
|
||||
tracy::MemWrite( &item->gpuNewContext.flags, context_flags );
|
||||
tracy::MemWrite( &item->gpuNewContext.type, tracy::GpuContextType::Vulkan );
|
||||
tracy::MemWrite( &item->gpuNewContext.type, tracy::GpuContextType::Rocprof );
|
||||
tracy::Profiler::QueueSerialFinish();
|
||||
}
|
||||
|
||||
|
||||
@@ -408,7 +408,8 @@ enum class GpuContextType : uint8_t
|
||||
Direct3D11,
|
||||
Metal,
|
||||
Custom,
|
||||
CUDA
|
||||
CUDA,
|
||||
Rocprof
|
||||
};
|
||||
|
||||
enum GpuContextFlags : uint8_t
|
||||
|
||||
Reference in New Issue
Block a user