Show the desc set write time even in the limited GPU profiler.

This commit is contained in:
Henrik Rydgård 2023-10-09 17:28:56 +02:00
parent 84f9c1694f
commit 018e4ee1d6

View file

@ -710,6 +710,9 @@ void VulkanRenderManager::BeginFrame(bool enableProfiling, bool enableLogProfile
renderCPUTimeMs_.Update((frameData.profile.cpuEndTime - frameData.profile.cpuStartTime) * 1000.0);
renderCPUTimeMs_.Format(line, sizeof(line));
str << line;
descUpdateTimeMs_.Update(frameData.profile.descWriteTime * 1000.0);
descUpdateTimeMs_.Format(line, sizeof(line));
str << line;
frameData.profile.profileSummary = str.str();
}
}