Only force indexed draws on PowerVR / Vulkan.

This commit is contained in:
Henrik Rydgård committed 2023-01-11 22:59:30 +01:00
1 parent beed3c06d2
commit 1cfc7b11b8
3 files changed
+8 -1

No files matched your search

+1 -1
View File
@@ -584,7 +584,7 @@ void DrawEngineVulkan::DoFlush() {
// The optimization to avoid indexing isn't really worth it on Vulkan since it means creating more pipelines.
// This could be avoided with the new dynamic state extensions, but not available enough on mobile.
const bool forceIndexed = true;
const bool forceIndexed = draw_->GetDeviceCaps().verySlowShaderCompiler;
if (useHWTransform) {
int vertexCount = 0;