diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-01-03 18:07:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-03 18:07:06 +0100 |
| commit | ed9915308b8c14853103eac8bec455b7c072f5ec (patch) | |
| tree | 7a5325923ae9d770bcb8d6de72b5c54e4d43c277 /Source/Core/VideoCommon/ShaderGenCommon.cpp | |
| parent | e4c007e2e1a442dbab620f91ca5f6b9b2b27dd5b (diff) | |
| parent | f3df3a772728e7cc1d1a8ad4cda9b6154e8d1c3c (diff) | |
Merge pull request #11386 from Pokechu22/manual-texture-sampling-stereoscopic-layer-bounds-check
PixelShaderGen: Clamp texture layer when using manual texture sampling with stereoscopic 3D
Diffstat (limited to 'Source/Core/VideoCommon/ShaderGenCommon.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/ShaderGenCommon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/ShaderGenCommon.cpp b/Source/Core/VideoCommon/ShaderGenCommon.cpp index 8d880d5479..8253679ef9 100644 --- a/Source/Core/VideoCommon/ShaderGenCommon.cpp +++ b/Source/Core/VideoCommon/ShaderGenCommon.cpp @@ -42,7 +42,7 @@ ShaderHostConfig ShaderHostConfig::GetCurrent() bits.enable_validation_layer = g_ActiveConfig.bEnableValidationLayer; bits.manual_texture_sampling = !g_ActiveConfig.bFastTextureSampling; bits.manual_texture_sampling_custom_texture_sizes = - g_ActiveConfig.ManualTextureSamplingWithHiResTextures(); + g_ActiveConfig.ManualTextureSamplingWithCustomTextureSizes(); bits.backend_sampler_lod_bias = g_ActiveConfig.backend_info.bSupportsLodBiasInSampler; bits.backend_dynamic_vertex_loader = g_ActiveConfig.backend_info.bSupportsDynamicVertexLoader; bits.backend_vs_point_line_expand = g_ActiveConfig.UseVSForLinePointExpand(); |
