|
|
|
@ -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; |
|
|
|
} |
|
|
|
|
|
|
|
|