diff options
-rw-r--r-- | include/vulkan/vulkan.h | 2 | ||||
-rw-r--r-- | 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, |