From cd8e2360f45f652513d480d440875ba1f1284dbd Mon Sep 17 00:00:00 2001 From: Georg Lehmann Date: Thu, 9 Jun 2022 17:12:38 +0200 Subject: [PATCH] [d3d9] Use non seamless samplers if supported. --- src/d3d9/d3d9_device.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/d3d9/d3d9_device.cpp b/src/d3d9/d3d9_device.cpp index 50c4d1274..fe2dddda7 100644 --- a/src/d3d9/d3d9_device.cpp +++ b/src/d3d9/d3d9_device.cpp @@ -3944,6 +3944,8 @@ namespace dxvk { enabled.extCustomBorderColor.customBorderColorWithoutFormat = VK_TRUE; } + enabled.extNonSeamlessCubeMap.nonSeamlessCubeMap = supported.extNonSeamlessCubeMap.nonSeamlessCubeMap; + return enabled; } @@ -5961,7 +5963,7 @@ namespace dxvk { info.mipmapLodMin = mipFilter.MipsEnabled ? float(cKey.MaxMipLevel) : 0; info.mipmapLodMax = mipFilter.MipsEnabled ? FLT_MAX : 0; info.usePixelCoord = VK_FALSE; - info.nonSeamless = VK_FALSE; + info.nonSeamless = m_dxvkDevice->features().extNonSeamlessCubeMap.nonSeamlessCubeMap; DecodeD3DCOLOR(cKey.BorderColor, info.borderColor.float32);