mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Vulkan will now properly send serial callstacks.
This commit is contained in:
parent
a4764141c6
commit
483a621a0a
@ -342,9 +342,7 @@ public:
|
|||||||
const auto queryId = ctx->NextQueryId();
|
const auto queryId = ctx->NextQueryId();
|
||||||
vkCmdWriteTimestamp( cmdbuf, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT, ctx->m_query, queryId );
|
vkCmdWriteTimestamp( cmdbuf, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT, ctx->m_query, queryId );
|
||||||
|
|
||||||
GetProfiler().SendCallstack( depth );
|
auto item = Profiler::QueueSerialCallstack( Callstack( depth ) );
|
||||||
|
|
||||||
auto item = Profiler::QueueSerial();
|
|
||||||
MemWrite( &item->hdr.type, QueueType::GpuZoneBeginCallstackSerial );
|
MemWrite( &item->hdr.type, QueueType::GpuZoneBeginCallstackSerial );
|
||||||
MemWrite( &item->gpuZoneBegin.cpuTime, Profiler::GetTime() );
|
MemWrite( &item->gpuZoneBegin.cpuTime, Profiler::GetTime() );
|
||||||
MemWrite( &item->gpuZoneBegin.srcloc, (uint64_t)srcloc );
|
MemWrite( &item->gpuZoneBegin.srcloc, (uint64_t)srcloc );
|
||||||
|
Loading…
Reference in New Issue
Block a user