[GPU] Add anisotropic filtering override

This commit is contained in:
Stayd
2026-01-15 17:12:49 -07:00
committed by Radosław Gliński
parent a74fe21f76
commit ac6fd65385
4 changed files with 24 additions and 2 deletions

View File

@@ -70,3 +70,15 @@ DEFINE_int32(
"Set to higher number than query_occlusion_sample_lower_threshold. This "
"value is ignored if query_occlusion_sample_lower_threshold is set to -1.",
"GPU");
DEFINE_int32(anisotropic_override, -1,
"Level of anisotropic filtering enforced on all texture fetch "
"instructions.\n"
" -1 = No override\n"
" 0 = Disable anisotropic filtering\n"
" 1 = Force 1x anisotropic filtering\n"
" 2 = Force 2x anisotropic filtering\n"
" 3 = Force 4x anisotropic filtering\n"
" 4 = Force 8x anisotropic filtering\n"
" 5 = Force 16x anisotropic filtering",
"GPU");