diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-04 05:56:44 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-04 06:06:40 +0100 |
commit | 7d904fef2e6ac9ce8a3df71e758a36d39b8f69e5 (patch) | |
tree | 5bdc2bdcf8b5aeb594a3a2b16c183b13d6fe2771 /src/video_core/renderer_vulkan | |
parent | gl_texture_cache: Create base images with sRGB (diff) | |
download | yuzu-7d904fef2e6ac9ce8a3df71e758a36d39b8f69e5.tar yuzu-7d904fef2e6ac9ce8a3df71e758a36d39b8f69e5.tar.gz yuzu-7d904fef2e6ac9ce8a3df71e758a36d39b8f69e5.tar.bz2 yuzu-7d904fef2e6ac9ce8a3df71e758a36d39b8f69e5.tar.lz yuzu-7d904fef2e6ac9ce8a3df71e758a36d39b8f69e5.tar.xz yuzu-7d904fef2e6ac9ce8a3df71e758a36d39b8f69e5.tar.zst yuzu-7d904fef2e6ac9ce8a3df71e758a36d39b8f69e5.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_texture_cache.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_texture_cache.h b/src/video_core/renderer_vulkan/vk_texture_cache.h index 576515bcc..e5599de5e 100644 --- a/src/video_core/renderer_vulkan/vk_texture_cache.h +++ b/src/video_core/renderer_vulkan/vk_texture_cache.h @@ -104,6 +104,11 @@ struct TextureCacheRuntime { } void InsertUploadMemoryBarrier() {} + + bool HasBrokenTextureViewFormats() const noexcept { + // No known Vulkan driver has broken image views + return false; + } }; class Image : public VideoCommon::ImageBase { |