Make the arbitrary mipmap detection threshold configureable

This is likely a "superuser" option at best, but I want to be able to play with
it without rebuilding if I want to tweak the heuristics
This commit is contained in:
Jonathan Hamilton
2018-05-16 17:45:10 -07:00
parent 29b7e33c14
commit 8be5cdfcad
5 changed files with 8 additions and 2 deletions

View File

@ -109,6 +109,8 @@ const ConfigInfo<bool> GFX_ENHANCE_DISABLE_COPY_FILTER{
{System::GFX, "Enhancements", "DisableCopyFilter"}, true};
const ConfigInfo<bool> GFX_ENHANCE_ARBITRARY_MIPMAP_DETECTION{
{System::GFX, "Enhancements", "ArbitraryMipmapDetection"}, true};
const ConfigInfo<float> GFX_ENHANCE_ARBITRARY_MIPMAP_DETECTION_THRESHOLD{
{System::GFX, "Enhancements", "ArbitraryMipmapDetectionThreshold"}, 4.5f};
// Graphics.Stereoscopy