From eb4530972221bbbfbc9cdc3611e596ef64829a05 Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Fri, 26 Jan 2018 16:45:46 -0500 Subject: [PATCH] vulkan_platform: Add a method to get the uint64_t handle --- src/common/vulkan_platform.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/vulkan_platform.h b/src/common/vulkan_platform.h index cf823cafa8..1fd01f3616 100644 --- a/src/common/vulkan_platform.h +++ b/src/common/vulkan_platform.h @@ -63,6 +63,10 @@ class VkNonDispatchableHandle { return {handle}; } + uint64_t GetHandle() const { + return mHandle; + } + private: VkNonDispatchableHandle(uint64_t handle) : mHandle(handle) { }