diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-03-04 20:12:25 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-03-04 20:14:49 +0100 |
commit | 5213f702307e43520ad5f264e613acdfec597077 (patch) | |
tree | 038455c37e70b4bfeb2bc2085fe131df0cd06dac /src/video_core/renderer_vulkan | |
parent | renderer_opengl: Swizzle BGR textures on copy (diff) | |
download | yuzu-5213f702307e43520ad5f264e613acdfec597077.tar yuzu-5213f702307e43520ad5f264e613acdfec597077.tar.gz yuzu-5213f702307e43520ad5f264e613acdfec597077.tar.bz2 yuzu-5213f702307e43520ad5f264e613acdfec597077.tar.lz yuzu-5213f702307e43520ad5f264e613acdfec597077.tar.xz yuzu-5213f702307e43520ad5f264e613acdfec597077.tar.zst yuzu-5213f702307e43520ad5f264e613acdfec597077.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 b08c23459..3aee27ce0 100644 --- a/src/video_core/renderer_vulkan/vk_texture_cache.h +++ b/src/video_core/renderer_vulkan/vk_texture_cache.h @@ -93,6 +93,11 @@ struct TextureCacheRuntime { // No known Vulkan driver has broken image views return false; } + + bool HasNativeBgr() const noexcept { + // All known Vulkan drivers can natively handle BGR textures + return true; + } }; class Image : public VideoCommon::ImageBase { |