Make the Vulkan backend interface use native Vulkan types

This extends our Vulkan handle wrapper to have conversions from uint64_t
as well as the native Vulkan types:
 - The dawn_wsi interface uses the uint64_t version.
 - The backend interface uses the native Vulkan version
This commit is contained in:
Corentin Wallez
2018-07-25 13:44:28 +02:00
committed by Corentin Wallez
parent 5dcaadb0f9
commit 5d313225ff
5 changed files with 61 additions and 17 deletions

View File

@@ -15,9 +15,11 @@
#include "utils/BackendBinding.h"
#include "common/Assert.h"
#include "common/vulkan_platform.h"
#include "dawn/dawn_wsi.h"
#include <vulkan/vulkan.h>
// Include GLFW after Vulkan so that it declares the Vulkan-specific functions
#include "GLFW/glfw3.h"
#include <vector>