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

+3
View File
@@ -59,6 +59,9 @@ GPU_Vulkan::GPU_Vulkan(GraphicsContext *gfxCtx, Draw::DrawContext *draw)
CheckGPUFeatures();
VulkanContext *vulkan = (VulkanContext *)gfxCtx->GetAPIContext();
vulkan->SetProfilerEnabledPtr(&g_Config.bGpuLogProfiler);
shaderManagerVulkan_ = new ShaderManagerVulkan(draw);
pipelineManager_ = new PipelineManagerVulkan(vulkan);
framebufferManagerVulkan_ = new FramebufferManagerVulkan(draw);