Fix some issues with depth rounding, and depth clamp in D3D11

This commit is contained in:
Henrik Rydgård committed 2026-05-30 19:07:59 +02:00
1 parent 3f6582aa7b
commit f8b153ba2b
12 files changed
+48 -48

No files matched your search

+4 -2
View File
@@ -241,8 +241,10 @@ void DrawEngineVulkan::Flush() {
provokingVertexOk = true;
}
bool useHWTransform = CanUseHardwareTransform(prim) && provokingVertexOk;
if (clipInfoFlags_ & ClipInfoFlags::SoftClipCull) {
useHWTransform = false;
if (clipInfoFlags_ & ClipInfoFlags::Valid) {
if (clipInfoFlags_ & ClipInfoFlags::SoftClipCull) {
useHWTransform = false;
}
}
// Is this still needed?