diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-12-30 08:58:38 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-12-31 06:07:34 +0100 |
commit | cdbee27692d73046cecf56fdea1c90f72ebbc0ce (patch) | |
tree | e360cc51563b7bee53e67587a421a1d15be3221e /src/video_core/renderer_vulkan/vk_device.h | |
parent | vk_device: Use an array to report lacking device limits (diff) | |
download | yuzu-cdbee27692d73046cecf56fdea1c90f72ebbc0ce.tar yuzu-cdbee27692d73046cecf56fdea1c90f72ebbc0ce.tar.gz yuzu-cdbee27692d73046cecf56fdea1c90f72ebbc0ce.tar.bz2 yuzu-cdbee27692d73046cecf56fdea1c90f72ebbc0ce.tar.lz yuzu-cdbee27692d73046cecf56fdea1c90f72ebbc0ce.tar.xz yuzu-cdbee27692d73046cecf56fdea1c90f72ebbc0ce.tar.zst yuzu-cdbee27692d73046cecf56fdea1c90f72ebbc0ce.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_device.h')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_device.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/video_core/renderer_vulkan/vk_device.h b/src/video_core/renderer_vulkan/vk_device.h index 63e123d02..146acbe24 100644 --- a/src/video_core/renderer_vulkan/vk_device.h +++ b/src/video_core/renderer_vulkan/vk_device.h @@ -24,8 +24,8 @@ const u32 GuestWarpSize = 32; /// Handles data specific to a physical device. class VKDevice final { public: - explicit VKDevice(VkInstance instance, u32 instance_version, vk::PhysicalDevice physical, - VkSurfaceKHR surface, const vk::InstanceDispatch& dld); + explicit VKDevice(VkInstance instance, vk::PhysicalDevice physical, VkSurfaceKHR surface, + const vk::InstanceDispatch& dld); ~VKDevice(); /** @@ -79,11 +79,6 @@ public: return present_family; } - /// Returns the current instance Vulkan API version in Vulkan-formatted version numbers. - u32 InstanceApiVersion() const { - return instance_version; - } - /// Returns the current Vulkan API version provided in Vulkan-formatted version numbers. u32 ApiVersion() const { return properties.apiVersion; |