From 24a6fcba77abe770e508c323d1dabf31b78bc9b0 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 14 Jan 2016 08:10:07 -0800 Subject: [PATCH] vulkan-1.0.0: Bump the version to 1.0.0 --- include/vulkan/vulkan.h | 2 +- src/vulkan/anv_device.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h index c0208e35342..014f8e8cfb8 100644 --- a/include/vulkan/vulkan.h +++ b/include/vulkan/vulkan.h @@ -41,7 +41,7 @@ extern "C" { ((major << 22) | (minor << 12) | patch) // Vulkan API version supported by this file -#define VK_API_VERSION VK_MAKE_VERSION(0, 221, 0) +#define VK_API_VERSION VK_MAKE_VERSION(1, 0, 0) #define VK_NULL_HANDLE 0 diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c index 265ac5ff7e3..c7e70412eb8 100644 --- a/src/vulkan/anv_device.c +++ b/src/vulkan/anv_device.c @@ -210,7 +210,7 @@ VkResult anv_CreateInstance( assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO); - if (pCreateInfo->pApplicationInfo->apiVersion != VK_MAKE_VERSION(0, 210, 1)) + if (pCreateInfo->pApplicationInfo->apiVersion != VK_MAKE_VERSION(1, 0, 0)) return vk_error(VK_ERROR_INCOMPATIBLE_DRIVER); for (uint32_t i = 0; i < pCreateInfo->enabledExtensionCount; i++) { @@ -512,7 +512,7 @@ void anv_GetPhysicalDeviceProperties( }; *pProperties = (VkPhysicalDeviceProperties) { - .apiVersion = VK_MAKE_VERSION(0, 210, 1), + .apiVersion = VK_MAKE_VERSION(1, 0, 0), .driverVersion = 1, .vendorID = 0x8086, .deviceID = pdevice->chipset_id, -- 2.30.2