anv: Fix an old parameter name in GetDeviceQueue

I don't know if this is a typo or an artifact of ancient versions of the
Vulkan API.  In any case, it's wrong.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8667>
This commit is contained in:
Jason Ekstrand 2021-01-22 16:51:44 -06:00 committed by Marge Bot
parent dc8d74a555
commit e2cd83fbc5
1 changed files with 2 additions and 2 deletions

View File

@ -3237,7 +3237,7 @@ VkResult anv_EnumerateDeviceLayerProperties(
void anv_GetDeviceQueue(
VkDevice _device,
uint32_t queueNodeIndex,
uint32_t queueFamilyIndex,
uint32_t queueIndex,
VkQueue* pQueue)
{
@ -3245,7 +3245,7 @@ void anv_GetDeviceQueue(
.sType = VK_STRUCTURE_TYPE_DEVICE_QUEUE_INFO_2,
.pNext = NULL,
.flags = 0,
.queueFamilyIndex = queueNodeIndex,
.queueFamilyIndex = queueFamilyIndex,
.queueIndex = queueIndex,
};