Make the Vulkan GPU log profiler a runtime developer setting.

I keep forgetting to disable the define on commit, this is a better
solution.
This commit is contained in:
Henrik Rydgård committed 2021-12-19 22:50:14 +01:00
1 parent 748b8287a6
commit df2f0df155
10 files changed
+28 -18

No files matched your search

+2 -1
View File
@@ -906,7 +906,8 @@ VKContext::~VKContext() {
}
void VKContext::BeginFrame() {
renderManager_.BeginFrame(g_Config.bShowGpuProfile);
// TODO: Bad dependency on g_Config here!
renderManager_.BeginFrame(g_Config.bShowGpuProfile, g_Config.bGpuLogProfiler);
FrameData &frame = frame_[vulkan_->GetCurFrame()];
push_ = frame.pushBuffer;