Add provoking vertex to caps, flip the flag around

This commit is contained in:
Henrik Rydgård committed 2024-07-17 14:40:52 +02:00
1 parent f6aa86dfee
commit 665f03ff62
11 files changed
+18 -8

No files matched your search

+2 -2
View File
@@ -407,9 +407,9 @@ void DrawEngineVulkan::DoFlush() {
params.allowSeparateAlphaClear = false;
if (renderManager->GetVulkanContext()->GetDeviceFeatures().enabled.provokingVertex.provokingVertexLast) {
// We can get the OpenGL behavior, no need for workarounds.
params.provokeFlatFirst = false;
params.provokingVertexLast = true;
} else {
params.provokeFlatFirst = true;
params.provokingVertexLast = false;
}
params.flippedY = true;
params.usesHalfZ = true;