diff options
| author | JMC47 <JMC4789@gmail.com> | 2021-12-28 02:45:14 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-28 02:45:14 -0500 |
| commit | 01e8e950e8f381c852c842183fe6831d5e83b503 (patch) | |
| tree | 6ebe9d05ef1ffc320c8480c06b6d8088623b145e /Source/Core/VideoCommon/ShaderGenCommon.cpp | |
| parent | 8d237eb1020dd57d7521f1ea5af16045e7991bf4 (diff) | |
| parent | 056613ecc5c79941d4bc9747bdc6f79fe332183a (diff) | |
Merge pull request #10292 from OatmealDome/lodbias-take-two
PixelShaderGen: Use LOD bias when sampling texture on Metal and OpenGL ES
Diffstat (limited to 'Source/Core/VideoCommon/ShaderGenCommon.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/ShaderGenCommon.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/ShaderGenCommon.cpp b/Source/Core/VideoCommon/ShaderGenCommon.cpp index 34921f9116..0a965e6f62 100644 --- a/Source/Core/VideoCommon/ShaderGenCommon.cpp +++ b/Source/Core/VideoCommon/ShaderGenCommon.cpp @@ -42,6 +42,7 @@ ShaderHostConfig ShaderHostConfig::GetCurrent() bits.manual_texture_sampling = !g_ActiveConfig.bFastTextureSampling; bits.manual_texture_sampling_custom_texture_sizes = g_ActiveConfig.ManualTextureSamplingWithHiResTextures(); + bits.backend_sampler_lod_bias = g_ActiveConfig.backend_info.bSupportsLodBiasInSampler; return bits; } |
