Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf.pld@gmail.com>2021-01-15 23:41:09 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2021-01-16 00:11:34 +0300
commit483a621a0a129b9200732282c6749101a88e6b57 (patch)
tree53e203fa6e322b8ef3cdb7e318222df441d285d1
parenta4764141c68ea5be97712bb0101e57f0ca4f20bf (diff)
Vulkan will now properly send serial callstacks.
-rw-r--r--TracyVulkan.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/TracyVulkan.hpp b/TracyVulkan.hpp
index 48942dd0..656a063b 100644
--- a/TracyVulkan.hpp
+++ b/TracyVulkan.hpp
@@ -342,9 +342,7 @@ public:
const auto queryId = ctx->NextQueryId();
vkCmdWriteTimestamp( cmdbuf, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT, ctx->m_query, queryId );
- GetProfiler().SendCallstack( depth );
-
- auto item = Profiler::QueueSerial();
+ auto item = Profiler::QueueSerialCallstack( Callstack( depth ) );
MemWrite( &item->hdr.type, QueueType::GpuZoneBeginCallstackSerial );
MemWrite( &item->gpuZoneBegin.cpuTime, Profiler::GetTime() );
MemWrite( &item->gpuZoneBegin.srcloc, (uint64_t)srcloc );