SDK or header version if building from repo: Taken from Arch Linux OS packages, version 1.3.275-1
Options enabled (synchronization, best practices, etc.): ...
Describe the Issue
When calling vkGetDeviceQueue with a queue index that's greater than or equal to the queueCount that was used to create queues from the queue family, the error message seems to mix up the queue index and the queue family index:
VUID-vkGetDeviceQueue-queueIndex-00385: Validation Error: [ VUID-vkGetDeviceQueue-queueIndex-00385 ] | MessageID = 0x4b50ab6f | vkGetDeviceQueue(): queueFamilyIndex (1) is not less than the number of queues requested from queueFamilyIndex (=1) when the device was created vkCreateDevice::pCreateInfo->pQueueCreateInfos[1] (i.e. is not less than 1). The Vulkan spec states: queueIndex must be less than the value of VkDeviceQueueCreateInfo::queueCount for the queue family indicated by queueFamilyIndex when device was created (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkGetDeviceQueue-queueIndex-00385)
I believe that this should read:
VUID-vkGetDeviceQueue-queueIndex-00385: Validation Error: [ VUID-vkGetDeviceQueue-queueIndex-00385 ] | MessageID = 0x4b50ab6f | vkGetDeviceQueue(): queueIndex (1) is not less than the number of queues requested from queueFamilyIndex (=1) ...
Expected behavior
I think the error message should be referring to the queueIndex, not the queueFamilyIndex
Environment:
Linux workstation01 6.9.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 21 Jun 2024 19:49:19 +0000 x86_64 GNU/Linux
1.3.275-1
Describe the Issue
When calling
vkGetDeviceQueue
with a queue index that's greater than or equal to thequeueCount
that was used to create queues from the queue family, the error message seems to mix up the queue index and the queue family index:I believe that this should read:
Expected behavior
I think the error message should be referring to the
queueIndex
, not thequeueFamilyIndex
Valid Usage ID
VUID-vkGetDeviceQueue-queueIndex-00385
Additional context
None.