[d3d9] Use non seamless samplers if supported.

This commit is contained in:
Georg Lehmann 2022-06-09 17:12:38 +02:00 committed by Philip Rebohle
parent cb76b02675
commit b40a4286e4
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
1 changed files with 3 additions and 1 deletions

View File

@ -3947,6 +3947,8 @@ namespace dxvk {
enabled.extCustomBorderColor.customBorderColorWithoutFormat = VK_TRUE;
}
enabled.extNonSeamlessCubeMap.nonSeamlessCubeMap = supported.extNonSeamlessCubeMap.nonSeamlessCubeMap;
return enabled;
}
@ -5952,7 +5954,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);