diff options
| author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2026-07-25 13:15:43 +0300 |
|---|---|---|
| committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2026-07-25 13:15:43 +0300 |
| commit | 398bf4f76a275ac08524f6218a707251b171271e (patch) | |
| tree | 31ed47010ec5db0afac932b1c1d87b4a3fd75c75 /indra/newview/llfeaturemanager.cpp | |
| parent | 34b74530d216a1edc5dfffe327baa615e3654460 (diff) | |
| parent | 92154ed36ffddac349ac2336a3cc5a1eb6eebb72 (diff) | |
Merge branch 'release/26.3' into marchcat/slua-26.3
# Conflicts:
# indra/llrender/llimagegl.cpp
# indra/llrender/llimagegl.h
# indra/newview/featuretable.txt
# indra/newview/featuretable_linux.txt
# indra/newview/featuretable_mac.txt
Diffstat (limited to 'indra/newview/llfeaturemanager.cpp')
| -rw-r--r-- | indra/newview/llfeaturemanager.cpp | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/indra/newview/llfeaturemanager.cpp b/indra/newview/llfeaturemanager.cpp index b67b7e2bff..5a2b1c719c 100644 --- a/indra/newview/llfeaturemanager.cpp +++ b/indra/newview/llfeaturemanager.cpp @@ -750,29 +750,9 @@ void LLFeatureManager::applyBaseMasks() { maskFeatures("VRAMGT512"); } - - // Texture quality is driven by detected VRAM. Feature masks take the MIN - // of applied values, so cascading lower tiers downgrade RenderTextureQuality: - // <= 2GB -> Low(0), <= 4GB -> Medium(1), < 8GB -> High(2), >= 8GB -> Ultra(3). - // When VRAM cannot be detected (mVRAM == 0, common on Linux) fall back to Medium. - if (gGLManager.mVRAM == 0) + if (gGLManager.mVRAM < 2048) { - maskFeatures("VRAMLT4GB"); - } - else - { - if (gGLManager.mVRAM < 8192) - { - maskFeatures("VRAMLT8GB"); - } - if (gGLManager.mVRAM <= 4096) - { - maskFeatures("VRAMLT4GB"); - } - if (gGLManager.mVRAM <= 2048) - { - maskFeatures("VRAMLT2GB"); - } + maskFeatures("VRAMLT2GB"); } if (!gGLManager.mHasAnisotropic || 2.f > gGLManager.mMaxAnisotropy) { |
