diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-17 00:40:39 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-02-13 06:16:21 +0100 |
commit | 47d5ec6cfc328e304435837dac99a07965b60a59 (patch) | |
tree | 47574d7a3311e431a25e1b54e2629954f4ca7844 /src/video_core/vulkan_common/vulkan_device.cpp | |
parent | vulkan_device: Enable robust buffers (diff) | |
download | yuzu-47d5ec6cfc328e304435837dac99a07965b60a59.tar yuzu-47d5ec6cfc328e304435837dac99a07965b60a59.tar.gz yuzu-47d5ec6cfc328e304435837dac99a07965b60a59.tar.bz2 yuzu-47d5ec6cfc328e304435837dac99a07965b60a59.tar.lz yuzu-47d5ec6cfc328e304435837dac99a07965b60a59.tar.xz yuzu-47d5ec6cfc328e304435837dac99a07965b60a59.tar.zst yuzu-47d5ec6cfc328e304435837dac99a07965b60a59.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index a1dd406fb..42a19d6fa 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp @@ -48,6 +48,12 @@ constexpr std::array REQUIRED_EXTENSIONS{ VK_EXT_SHADER_SUBGROUP_BALLOT_EXTENSION_NAME, VK_EXT_SHADER_SUBGROUP_VOTE_EXTENSION_NAME, VK_EXT_HOST_QUERY_RESET_EXTENSION_NAME, +#ifdef _WIN32 + VK_KHR_EXTERNAL_MEMORY_WIN32_EXTENSION_NAME, +#endif +#ifdef __linux__ + VK_KHR_EXTERNAL_MEMORY_FD_EXTENSION_NAME, +#endif }; template <typename T> |