summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-01-06 08:39:51 +0100
committerGitHub <noreply@github.com>2021-01-06 08:39:51 +0100
commite8d40559d50b952335f4899392944a9dca418b62 (patch)
tree94cbbc1e616e12ecc6b9c167f630649b829368fe /src/video_core/renderer_vulkan
parentMerge pull request #5250 from lat9nq/appimage (diff)
parentgl_texture_cache: Avoid format views on Intel and AMD (diff)
downloadyuzu-e8d40559d50b952335f4899392944a9dca418b62.tar
yuzu-e8d40559d50b952335f4899392944a9dca418b62.tar.gz
yuzu-e8d40559d50b952335f4899392944a9dca418b62.tar.bz2
yuzu-e8d40559d50b952335f4899392944a9dca418b62.tar.lz
yuzu-e8d40559d50b952335f4899392944a9dca418b62.tar.xz
yuzu-e8d40559d50b952335f4899392944a9dca418b62.tar.zst
yuzu-e8d40559d50b952335f4899392944a9dca418b62.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_texture_cache.h5
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 e68a3db43..92a7aad8b 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 {