video_core: Option to apply anisotropic filtering for all mipmap modes

This commit is contained in:
Wollnashorn 2023-06-12 15:59:44 +02:00
parent 333f792e10
commit 0eacf547c0
9 changed files with 37 additions and 1 deletions

View file

@ -62,7 +62,8 @@ std::array<float, 4> TSCEntry::BorderColor() const noexcept {
}
float TSCEntry::MaxAnisotropy() const noexcept {
if (max_anisotropy == 0 && mipmap_filter != TextureMipmapFilter::Linear) {
if (max_anisotropy == 0 && (mipmap_filter != TextureMipmapFilter::Linear &&
!Settings::values.use_aggressive_anisotropic_filtering)) {
return 1.0f;
}
const auto anisotropic_settings = Settings::values.max_anisotropy.GetValue();