Rework max anisotropy override to sampler creation (D3D12/Vulkan)

Revert ac6fd65 fetch additions and implement context-sensitive AF override.
This commit is contained in:
goldislead
2026-02-06 00:02:37 -08:00
committed by Radosław Gliński
parent 60ffc2e83f
commit 1a9613705d
5 changed files with 52 additions and 34 deletions

View File

@@ -72,8 +72,10 @@ DEFINE_int32(
"GPU");
DEFINE_int32(anisotropic_override, -1,
"Level of anisotropic filtering enforced on all texture fetch "
"instructions.\n"
"Forces anisotropic filtering (AF) for eligible textures.\n"
"Higher values keep textures sharper at oblique angles at the "
"cost of GPU bandwidth, though most GPUs handle up to 16x fine.\n"
"In rare cases, forcing AF can introduce visual artifacts.\n"
" -1 = No override\n"
" 0 = Disable anisotropic filtering\n"
" 1 = Force 1x anisotropic filtering\n"