vulkan.h: API changes for #13744 - sharing across queues
The ICD doesn't do anything differently interesting yet, but this is
enough that the API works.
V2: Fix testbinding.
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
diff --git a/icd/intel/dev.c b/icd/intel/dev.c
index 9cf4642..de5446f 100644
--- a/icd/intel/dev.c
+++ b/icd/intel/dev.c
@@ -78,10 +78,10 @@
const VkDeviceQueueCreateInfo *q = &queues[i];
VkResult ret = VK_SUCCESS;
- if (q->queueNodeIndex < INTEL_GPU_ENGINE_COUNT &&
- q->queueCount == 1 && !dev->queues[q->queueNodeIndex]) {
- ret = intel_queue_create(dev, q->queueNodeIndex,
- &dev->queues[q->queueNodeIndex]);
+ if (q->queueFamilyIndex < INTEL_GPU_ENGINE_COUNT &&
+ q->queueCount == 1 && !dev->queues[q->queueFamilyIndex]) {
+ ret = intel_queue_create(dev, q->queueFamilyIndex,
+ &dev->queues[q->queueFamilyIndex]);
}
else {
ret = VK_ERROR_INVALID_POINTER;