diff options
author | bunnei <bunneidev@gmail.com> | 2023-05-08 03:41:26 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-03 09:06:00 +0200 |
commit | 8b8123b733109f505a10e18f89af2e67d17755f1 (patch) | |
tree | 923028abfe3f268b49a9e3a12cb6e464a996daa6 /src/video_core | |
parent | android: remove spurious warnings about BCn formats when patched with adrenotools (diff) | |
download | yuzu-8b8123b733109f505a10e18f89af2e67d17755f1.tar yuzu-8b8123b733109f505a10e18f89af2e67d17755f1.tar.gz yuzu-8b8123b733109f505a10e18f89af2e67d17755f1.tar.bz2 yuzu-8b8123b733109f505a10e18f89af2e67d17755f1.tar.lz yuzu-8b8123b733109f505a10e18f89af2e67d17755f1.tar.xz yuzu-8b8123b733109f505a10e18f89af2e67d17755f1.tar.zst yuzu-8b8123b733109f505a10e18f89af2e67d17755f1.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index 1eec4afb0..75c450365 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp @@ -266,6 +266,7 @@ std::unordered_map<VkFormat, VkFormatProperties> GetFormatProperties(vk::Physica return format_properties; } +#if defined(ANDROID) && defined(ARCHITECTURE_arm64) void OverrideBcnFormats(std::unordered_map<VkFormat, VkFormatProperties>& format_properties) { // These properties are extracted from Adreno driver 512.687.0 constexpr VkFormatFeatureFlags tiling_features{ @@ -289,6 +290,7 @@ void OverrideBcnFormats(std::unordered_map<VkFormat, VkFormatProperties>& format format_properties[format].bufferFeatures = buffer_features; } } +#endif NvidiaArchitecture GetNvidiaArchitecture(vk::PhysicalDevice physical, const std::set<std::string, std::less<>>& exts) { |