Vulkan: Make vertexPipelineStoresAndAtomics optional
Some checks failed
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled

This commit is contained in:
Exzap
2026-07-01 13:26:18 +02:00
parent c2e807f8a3
commit 880d2b3bd0

View File

@@ -672,7 +672,9 @@ VulkanRenderer::VulkanRenderer() : Renderer(RendererAPI::Vulkan)
deviceFeatures.robustBufferAccess = VK_TRUE;
}
deviceFeatures.vertexPipelineStoresAndAtomics = true;
deviceFeatures.vertexPipelineStoresAndAtomics = deviceFeatures2.features.vertexPipelineStoresAndAtomics;
if (!deviceFeatures.vertexPipelineStoresAndAtomics)
cemuLog_log(LogType::Force, "vertexPipelineStoresAndAtomics not supported by the driver. Games which use the streamout feature will not render correctly");
void* deviceExtensionFeatures = nullptr;