summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common/vulkan_wrapper.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-03-25 04:16:11 +0100
committerGitHub <noreply@github.com>2022-03-25 04:16:11 +0100
commitab6a5784fa991016b5d8c097471fbda88853ba5d (patch)
tree407ed36099630b4e52bcd727e799d8f22bb43c24 /src/video_core/vulkan_common/vulkan_wrapper.h
parentMerge pull request #8050 from bunnei/nvflinger-rewrite (diff)
parentGC: Address Feedback. (diff)
downloadyuzu-ab6a5784fa991016b5d8c097471fbda88853ba5d.tar
yuzu-ab6a5784fa991016b5d8c097471fbda88853ba5d.tar.gz
yuzu-ab6a5784fa991016b5d8c097471fbda88853ba5d.tar.bz2
yuzu-ab6a5784fa991016b5d8c097471fbda88853ba5d.tar.lz
yuzu-ab6a5784fa991016b5d8c097471fbda88853ba5d.tar.xz
yuzu-ab6a5784fa991016b5d8c097471fbda88853ba5d.tar.zst
yuzu-ab6a5784fa991016b5d8c097471fbda88853ba5d.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/vulkan_common/vulkan_wrapper.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/vulkan_common/vulkan_wrapper.h b/src/video_core/vulkan_common/vulkan_wrapper.h
index 53bac627f..0a5f9931c 100644
--- a/src/video_core/vulkan_common/vulkan_wrapper.h
+++ b/src/video_core/vulkan_common/vulkan_wrapper.h
@@ -172,6 +172,7 @@ struct InstanceDispatch {
PFN_vkGetPhysicalDeviceFeatures2KHR vkGetPhysicalDeviceFeatures2KHR{};
PFN_vkGetPhysicalDeviceFormatProperties vkGetPhysicalDeviceFormatProperties{};
PFN_vkGetPhysicalDeviceMemoryProperties vkGetPhysicalDeviceMemoryProperties{};
+ PFN_vkGetPhysicalDeviceMemoryProperties2 vkGetPhysicalDeviceMemoryProperties2{};
PFN_vkGetPhysicalDeviceProperties vkGetPhysicalDeviceProperties{};
PFN_vkGetPhysicalDeviceProperties2KHR vkGetPhysicalDeviceProperties2KHR{};
PFN_vkGetPhysicalDeviceQueueFamilyProperties vkGetPhysicalDeviceQueueFamilyProperties{};
@@ -950,7 +951,8 @@ public:
std::vector<VkPresentModeKHR> GetSurfacePresentModesKHR(VkSurfaceKHR) const;
- VkPhysicalDeviceMemoryProperties GetMemoryProperties() const noexcept;
+ VkPhysicalDeviceMemoryProperties2 GetMemoryProperties(
+ void* next_structures = nullptr) const noexcept;
private:
VkPhysicalDevice physical_device = nullptr;