aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Ashburn <jon@lunarg.com>2015-05-18 09:06:15 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-06-17 19:47:02 -0600
commit7842d52a015bd19abf76b3156339237594ea730a (patch)
tree3b1529ba06e436c8ec2a180374f5f0d6ed51fdfa
parent30092d4531df53020bdda34b9c4ee358b443db0c (diff)
downloadusermoji-7842d52a015bd19abf76b3156339237594ea730a.tar.xz
misc: Remove validation bit from the CreateDevice flags
-rw-r--r--demos/cube.c2
-rw-r--r--demos/tri.c2
-rw-r--r--demos/vulkaninfo.c2
-rw-r--r--include/vulkan.h3
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