From 7842d52a015bd19abf76b3156339237594ea730a Mon Sep 17 00:00:00 2001 From: Jon Ashburn Date: Mon, 18 May 2015 09:06:15 -0600 Subject: misc: Remove validation bit from the CreateDevice flags --- demos/cube.c | 2 +- demos/tri.c | 2 +- demos/vulkaninfo.c | 2 +- include/vulkan.h | 3 +-- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/demos/cube.c b/demos/cube.c index 765251d0..9830cba2 100644 --- a/demos/cube.c +++ b/demos/cube.c @@ -1840,7 +1840,7 @@ static void demo_init_vk(struct demo *demo) .pRequestedQueues = &queue, .extensionCount = 1, .ppEnabledExtensionNames = ext_names, - .flags = VK_DEVICE_CREATE_VALIDATION_BIT, + .flags = 0, }; uint32_t gpu_count; uint32_t i; diff --git a/demos/tri.c b/demos/tri.c index 4101cf96..27eec3ce 100644 --- a/demos/tri.c +++ b/demos/tri.c @@ -1409,7 +1409,7 @@ static void demo_init_vk(struct demo *demo) .pRequestedQueues = &queue, .extensionCount = 1, .ppEnabledExtensionNames = ext_names, - .flags = VK_DEVICE_CREATE_VALIDATION_BIT, + .flags = 0, }; uint32_t gpu_count; uint32_t i; diff --git a/demos/vulkaninfo.c b/demos/vulkaninfo.c index efee55fb..7923fbb4 100644 --- a/demos/vulkaninfo.c +++ b/demos/vulkaninfo.c @@ -371,7 +371,7 @@ static void app_dev_init(struct app_dev *dev, struct app_gpu *gpu) .pRequestedQueues = NULL, .extensionCount = 0, .ppEnabledExtensionNames = NULL, - .flags = VK_DEVICE_CREATE_VALIDATION_BIT, + .flags = 0, }; VkResult err; diff --git a/include/vulkan.h b/include/vulkan.h index ed0ad2f8..b8bd81e5 100644 --- a/include/vulkan.h +++ b/include/vulkan.h @@ -947,8 +947,7 @@ typedef enum VkResult_ typedef VkFlags VkDeviceCreateFlags; typedef enum VkDeviceCreateFlagBits_ { - VK_DEVICE_CREATE_VALIDATION_BIT = VK_BIT(0), - VK_DEVICE_CREATE_MULTI_DEVICE_IQ_MATCH_BIT = VK_BIT(1), + VK_DEVICE_CREATE_MULTI_DEVICE_IQ_MATCH_BIT = VK_BIT(0), } VkDeviceCreateFlagBits; // Queue capabilities -- cgit v1.2.3