Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
78f56b209f [vk] only enable statistics bit if graphics debugging is enabled
Some checks failed
eden-license / license-header (pull_request) Failing after 27s
Signed-off-by: crueter <crueter@eden-emu.dev>
2025-08-11 22:50:51 +02:00

View file

@ -55,7 +55,7 @@ ComputePipeline::ComputePipeline(const Device& device_, vk::PipelineCache& pipel
.requiredSubgroupSize = GuestWarpSize, .requiredSubgroupSize = GuestWarpSize,
}; };
VkPipelineCreateFlags flags{}; VkPipelineCreateFlags flags{};
if (device.IsKhrPipelineExecutablePropertiesEnabled()) { if (device.IsKhrPipelineExecutablePropertiesEnabled() && Settings::values.renderer_debug.GetValue()) {
flags |= VK_PIPELINE_CREATE_CAPTURE_STATISTICS_BIT_KHR; flags |= VK_PIPELINE_CREATE_CAPTURE_STATISTICS_BIT_KHR;
} }
pipeline = device.GetLogical().CreateComputePipeline( pipeline = device.GetLogical().CreateComputePipeline(