Browse Source

ok just x64

pull/3019/head
lizzie 3 months ago
committed by crueter
parent
commit
328165916b
  1. 2
      docs/user/Graphics.md
  2. 3
      src/android/app/src/main/res/values/strings.xml
  3. 2
      src/common/settings_enums.h
  4. 3
      src/qt_common/config/shared_translation.cpp
  5. 5
      src/video_core/textures/texture.cpp

2
docs/user/Graphics.md

@ -47,7 +47,7 @@ Various graphical filters exist - each of them aimed at a specific target/image
The anisotropy value is (value game wants + the set value); **Default** will use the native anisotropy value as it would be on hardware. **Automatic** sets it according to screen resolution. Turning off anisotropy is not recommended as it can break a myriad of games, however it is provided in the name of flexibility.
Values from x2, x4, x8, x16, x32 up to x512 values are provided. This should be enough to not need to revise those values in my lifetime ever again.
Values from x2, x4, x8, x16, x32 up to x64 values are provided. This should be enough to not need to revise those values in my lifetime ever again.
### External

3
src/android/app/src/main/res/values/strings.xml

@ -1061,9 +1061,6 @@
<string name="multiplier_x16">x16</string>
<string name="multiplier_x32">x32</string>
<string name="multiplier_x64">x64</string>
<string name="multiplier_x128">x128</string>
<string name="multiplier_x256">x256</string>
<string name="multiplier_x512">x512</string>
<string name="multiplier_none">None</string>
<!-- Black backgrounds theme -->

2
src/common/settings_enums.h

@ -126,7 +126,7 @@ ENUM(TimeZone, Auto, Default, Cet, Cst6Cdt, Cuba, Eet, Egypt, Eire, Est, Est5Edt
GmtPlusZero, GmtMinusZero, GmtZero, Greenwich, Hongkong, Hst, Iceland, Iran, Israel, Jamaica,
Japan, Kwajalein, Libya, Met, Mst, Mst7Mdt, Navajo, Nz, NzChat, Poland, Portugal, Prc, Pst8Pdt,
Roc, Rok, Singapore, Turkey, Uct, Universal, Utc, WSu, Wet, Zulu);
ENUM(AnisotropyMode, Automatic, Default, X2, X4, X8, X16, X32, X64, X128, X256, X512, None);
ENUM(AnisotropyMode, Automatic, Default, X2, X4, X8, X16, X32, X64, None);
ENUM(AstcDecodeMode, Cpu, Gpu, CpuAsynchronous);
ENUM(AstcRecompression, Uncompressed, Bc1, Bc3);
ENUM(VSyncMode, Immediate, Mailbox, Fifo, FifoRelaxed);

3
src/qt_common/config/shared_translation.cpp

@ -598,9 +598,6 @@ std::unique_ptr<ComboboxTranslationMap> ComboboxEnumeration(QObject* parent)
PAIR(AnisotropyMode, X16, tr("16x")),
PAIR(AnisotropyMode, X32, tr("32x")),
PAIR(AnisotropyMode, X64, tr("64x")),
PAIR(AnisotropyMode, X128, tr("128x")),
PAIR(AnisotropyMode, X256, tr("256x")),
PAIR(AnisotropyMode, X512, tr("512x")),
PAIR(AnisotropyMode, None, tr("None")),
}});
translations->insert(

5
src/video_core/textures/texture.cpp

@ -82,9 +82,6 @@ float TSCEntry::MaxAnisotropy() const noexcept {
case Settings::AnisotropyMode::X16:
case Settings::AnisotropyMode::X32:
case Settings::AnisotropyMode::X64:
case Settings::AnisotropyMode::X128:
case Settings::AnisotropyMode::X256:
case Settings::AnisotropyMode::X512:
added_anisotropic = u32(anisotropic_settings) - 1U;
break;
case Settings::AnisotropyMode::Automatic:
@ -92,7 +89,7 @@ float TSCEntry::MaxAnisotropy() const noexcept {
added_anisotropic = (std::max)(added_anisotropic - 1U, 0U);
break;
case Settings::AnisotropyMode::None:
return 0.f;
return 1.0f; //No use of anisotropy
}
return float(1U << (max_anisotropy + added_anisotropic));
}

Loading…
Cancel
Save