video_core: Fallback to default anisotropy instead to 1x anisotropy

This commit is contained in:
Wollnashorn 2023-06-15 23:16:26 +02:00
parent 745d16132b
commit a3b7b5b22a
7 changed files with 20 additions and 16 deletions

View file

@ -68,8 +68,8 @@ float TSCEntry::MaxAnisotropy() const noexcept {
const bool has_regular_lods = min_lod_clamp == 0 && max_lod_clamp >= 256;
const bool is_bilinear_filter = min_filter == TextureFilter::Linear &&
reduction_filter == SamplerReduction::WeightedAverage;
if (max_anisotropy == 0 && (depth_compare_enabled.Value() || !has_regular_lods ||
!is_bilinear_filter || !is_suitable_mipmap_filter)) {
if (max_anisotropy == 0 && (depth_compare_enabled || !has_regular_lods || !is_bilinear_filter ||
!is_suitable_mipmap_filter)) {
return 1.0f;
}
const auto anisotropic_settings = Settings::values.max_anisotropy.GetValue();