diff options
| author | Wollnashorn <Wollnashorn@users.noreply.github.com> | 2023-06-15 23:16:26 +0200 |
|---|---|---|
| committer | Wollnashorn <Wollnashorn@users.noreply.github.com> | 2023-06-15 23:16:26 +0200 |
| commit | a3b7b5b22af8ef83fc765afac9d6f6b8dac7f62b (patch) | |
| tree | 0b3bea548cb1282d45a53365faea13e4321a69f8 /src/video_core/renderer_vulkan/pipeline_helper.h | |
| parent | 745d16132b9662de5b8317bfba37fe89c11cea45 (diff) | |
video_core: Fallback to default anisotropy instead to 1x anisotropy
Diffstat (limited to 'src/video_core/renderer_vulkan/pipeline_helper.h')
| -rw-r--r-- | src/video_core/renderer_vulkan/pipeline_helper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/pipeline_helper.h b/src/video_core/renderer_vulkan/pipeline_helper.h index 1632a6f26..0a9dce937 100644 --- a/src/video_core/renderer_vulkan/pipeline_helper.h +++ b/src/video_core/renderer_vulkan/pipeline_helper.h @@ -192,7 +192,7 @@ inline void PushImageDescriptors(TextureCache& texture_cache, const Sampler& sampler{**(samplers++)}; const bool use_fallback_sampler{sampler.HasAddedAnisotropy() && !image_view.SupportsAnisotropy()}; - const VkSampler vk_sampler{use_fallback_sampler ? sampler.HandleWithoutAnisotropy() + const VkSampler vk_sampler{use_fallback_sampler ? sampler.HandleWithDefaultAnisotropy() : sampler.Handle()}; guest_descriptor_queue.AddSampledImage(vk_image_view, vk_sampler); rescaling.PushTexture(texture_cache.IsRescaling(image_view)); |
