Browse Source

[VK] Only enable executable properties when debugging is enabled, extension of pr 243

pull/256/head
wildcard 7 months ago
parent
commit
e58e283de9
  1. 2
      src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp

2
src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp

@ -901,7 +901,7 @@ void GraphicsPipeline::MakePipeline(VkRenderPass render_pass) {
*/
}
VkPipelineCreateFlags flags{};
if (device.IsKhrPipelineExecutablePropertiesEnabled()) {
if (device.IsKhrPipelineExecutablePropertiesEnabled() && Settings::values.renderer_debug.GetValue()) {
flags |= VK_PIPELINE_CREATE_CAPTURE_STATISTICS_BIT_KHR;
}

Loading…
Cancel
Save