vulkan-1.0.0: Bump the version to 1.0.0

This commit is contained in:
Jason Ekstrand
2016-01-14 08:10:07 -08:00
parent c310fb032d
commit 24a6fcba77
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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,