1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-05 01:24:14 +01:00

[d3d11] Use nearest filter for ID3D11VideoContext scaling

This commit is contained in:
Rémi Bernon 2024-04-24 14:02:46 +02:00 committed by Philip Rebohle
parent b99d42c688
commit 4333ee872d

View File

@ -1334,7 +1334,7 @@ namespace dxvk {
void D3D11VideoContext::CreateSampler() { void D3D11VideoContext::CreateSampler() {
DxvkSamplerCreateInfo samplerInfo; DxvkSamplerCreateInfo samplerInfo;
samplerInfo.magFilter = VK_FILTER_LINEAR; samplerInfo.magFilter = VK_FILTER_NEAREST;
samplerInfo.minFilter = VK_FILTER_LINEAR; samplerInfo.minFilter = VK_FILTER_LINEAR;
samplerInfo.mipmapMode = VK_SAMPLER_MIPMAP_MODE_NEAREST; samplerInfo.mipmapMode = VK_SAMPLER_MIPMAP_MODE_NEAREST;
samplerInfo.mipmapLodBias = 0.0f; samplerInfo.mipmapLodBias = 0.0f;