mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-21 10:55:03 +00:00
tracy: added Vulkan GPU profiling
This commit is contained in:
parent
04b1226e9c
commit
d7565dec57
6 changed files with 107 additions and 55 deletions
|
@ -33,7 +33,7 @@ enum MarkersPallete : int {
|
|||
EmulatorMarkerColor = 0x264653,
|
||||
RendererMarkerColor = 0x2a9d8f,
|
||||
HleMarkerColor = 0xe9c46a,
|
||||
Reserved0 = 0xf4a261,
|
||||
GpuMarkerColor = 0xf4a261,
|
||||
Reserved1 = 0xe76f51,
|
||||
};
|
||||
|
||||
|
@ -48,4 +48,7 @@ enum MarkersPallete : int {
|
|||
#define TRACE_CRIT(msg) \
|
||||
[](const auto& msg) { TracyMessageC(msg.c_str(), msg.size(), tracy::Color::HotPink); }(msg)
|
||||
|
||||
#define GPU_SCOPE_LOCATION(name, color) \
|
||||
tracy::SourceLocationData{name, TracyFunction, TracyFile, (uint32_t)TracyLine, color};
|
||||
|
||||
#define FRAME_END FrameMark
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue