mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-21 21:57:39 +01:00
[d3d9] Use non seamless samplers if supported.
This commit is contained in:
parent
0015a34498
commit
cd8e2360f4
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user