summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan/wrapper.h
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-06-29 07:12:38 +0200
committerGitHub <noreply@github.com>2020-06-29 07:12:38 +0200
commitf84cbf6429926f5c0e9dcd7a7b26198d41343d4c (patch)
tree8003c44e5dea2cf162420b999c25e953ff2360ea /src/video_core/renderer_vulkan/wrapper.h
parentMerge pull request #3955 from FernandoS27/prometheus-2b (diff)
parentrenderer_vulkan: Update validation layer name and test before enabling (diff)
downloadyuzu-f84cbf6429926f5c0e9dcd7a7b26198d41343d4c.tar
yuzu-f84cbf6429926f5c0e9dcd7a7b26198d41343d4c.tar.gz
yuzu-f84cbf6429926f5c0e9dcd7a7b26198d41343d4c.tar.bz2
yuzu-f84cbf6429926f5c0e9dcd7a7b26198d41343d4c.tar.lz
yuzu-f84cbf6429926f5c0e9dcd7a7b26198d41343d4c.tar.xz
yuzu-f84cbf6429926f5c0e9dcd7a7b26198d41343d4c.tar.zst
yuzu-f84cbf6429926f5c0e9dcd7a7b26198d41343d4c.zip
Diffstat (limited to 'src/video_core/renderer_vulkan/wrapper.h')
-rw-r--r--src/video_core/renderer_vulkan/wrapper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/wrapper.h b/src/video_core/renderer_vulkan/wrapper.h
index da42ca88e..d56fdb3f9 100644
--- a/src/video_core/renderer_vulkan/wrapper.h
+++ b/src/video_core/renderer_vulkan/wrapper.h
@@ -141,6 +141,7 @@ struct InstanceDispatch {
PFN_vkCreateInstance vkCreateInstance;
PFN_vkDestroyInstance vkDestroyInstance;
PFN_vkEnumerateInstanceExtensionProperties vkEnumerateInstanceExtensionProperties;
+ PFN_vkEnumerateInstanceLayerProperties vkEnumerateInstanceLayerProperties;
PFN_vkCreateDebugUtilsMessengerEXT vkCreateDebugUtilsMessengerEXT;
PFN_vkCreateDevice vkCreateDevice;
@@ -996,4 +997,7 @@ private:
std::optional<std::vector<VkExtensionProperties>> EnumerateInstanceExtensionProperties(
const InstanceDispatch& dld);
+std::optional<std::vector<VkLayerProperties>> EnumerateInstanceLayerProperties(
+ const InstanceDispatch& dld);
+
} // namespace Vulkan::vk