1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Send Vulkan GPU calibration messages.

This commit is contained in:
Bartosz Taudul
2020-07-07 20:32:25 +02:00
parent c91c6be763
commit 1b6bc1b69a
8 changed files with 100 additions and 19 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ namespace tracy {
MemWrite(&item->gpuNewContext.period, 1.0f);
MemWrite(&item->gpuNewContext.type, GpuContextType::OpenCL);
MemWrite(&item->gpuNewContext.context, (uint8_t) m_contextId);
MemWrite(&item->gpuNewContext.accuracyBits, (uint8_t)0);
MemWrite(&item->gpuNewContext.flags, (uint8_t)0);
#ifdef TRACY_ON_DEMAND
GetProfiler().DeferItem(*item);
#endif