[d3d9] Use non seamless samplers if supported.

This commit is contained in:
Georg Lehmann 2022-06-09 17:12:38 +02:00 committed by Joshie
parent 0015a34498
commit cd8e2360f4
1 changed files with 3 additions and 1 deletions

View File

@ -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);