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 | video_core: Disable AF for non-color image formats (diff) | |
download | yuzu-a3b7b5b22af8ef83fc765afac9d6f6b8dac7f62b.tar yuzu-a3b7b5b22af8ef83fc765afac9d6f6b8dac7f62b.tar.gz yuzu-a3b7b5b22af8ef83fc765afac9d6f6b8dac7f62b.tar.bz2 yuzu-a3b7b5b22af8ef83fc765afac9d6f6b8dac7f62b.tar.lz yuzu-a3b7b5b22af8ef83fc765afac9d6f6b8dac7f62b.tar.xz yuzu-a3b7b5b22af8ef83fc765afac9d6f6b8dac7f62b.tar.zst yuzu-a3b7b5b22af8ef83fc765afac9d6f6b8dac7f62b.zip |
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)); |