bug 14640: add pNext/sType to VkDeviceQueueCreateInfo
diff --git a/demos/cube.c b/demos/cube.c
index 49eb583..6507438 100644
--- a/demos/cube.c
+++ b/demos/cube.c
@@ -2297,6 +2297,8 @@
.ppEnabledExtensionNames = (const char *const*) extension_names,
};
const VkDeviceQueueCreateInfo queue = {
+ .sType = VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO,
+ .pNext = NULL,
.queueFamilyIndex = 0,
.queueCount = 1,
};
diff --git a/demos/tri.c b/demos/tri.c
index 2f6b81e..69f3d64 100644
--- a/demos/tri.c
+++ b/demos/tri.c
@@ -1823,6 +1823,8 @@
.ppEnabledExtensionNames = (const char *const*) extension_names,
};
const VkDeviceQueueCreateInfo queue = {
+ .sType = VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO,
+ .pNext = NULL,
.queueFamilyIndex = 0,
.queueCount = 1,
};
diff --git a/demos/vulkaninfo.c b/demos/vulkaninfo.c
index fc2a33b..ee5597c 100644
--- a/demos/vulkaninfo.c
+++ b/demos/vulkaninfo.c
@@ -668,6 +668,8 @@
if (!gpu->queue_reqs)
ERR_EXIT(VK_ERROR_OUT_OF_HOST_MEMORY);
for (i = 0; i < gpu->queue_count; i++) {
+ gpu->queue_reqs[i].sType = VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO;
+ gpu->queue_reqs[i].pNext = NULL;
gpu->queue_reqs[i].queueFamilyIndex = i;
gpu->queue_reqs[i].queueCount = gpu->queue_props[i].queueCount;
}