MetalDevice: Anisotropy should be minimum 1

This commit is contained in:
Stenzek
2023-12-04 21:22:02 +10:00
parent 2071addce0
commit 601d8ff629
4 changed files with 5 additions and 7 deletions

View File

@ -806,7 +806,7 @@ D3D12DescriptorHandle D3D12Device::GetSampler(const GPUSampler::Config& config)
desc.MinLOD = static_cast<float>(config.min_lod);
desc.MaxLOD = static_cast<float>(config.max_lod);
if (config.anisotropy > 0)
if (config.anisotropy > 1)
{
desc.Filter = D3D12_FILTER_ANISOTROPIC;
desc.MaxAnisotropy = config.anisotropy;