mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
pvr: Remove duplicate variable queue_create.
Fix defect reported by Coverity Scan.
Evaluation order violation (EVALUATION_ORDER)
write_write_typo: In queue_create = queue_create = &pCreateInfo->pQueueCreateInfos[0], queue_create is written twice with the same value.
Fixes: 8991e64641 ("pvr: Add a Vulkan driver for Imagination Technologies PowerVR Rogue GPUs")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15604>
This commit is contained in:
parent
10734fb748
commit
79ba1962ac
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ VkResult pvr_queues_create(struct pvr_device *device,
|
|||
assert(pCreateInfo->pQueueCreateInfos[0].queueFamilyIndex == 0);
|
||||
assert(pCreateInfo->pQueueCreateInfos[0].queueCount <= PVR_MAX_QUEUES);
|
||||
|
||||
const VkDeviceQueueCreateInfo *queue_create = queue_create =
|
||||
const VkDeviceQueueCreateInfo *queue_create =
|
||||
&pCreateInfo->pQueueCreateInfos[0];
|
||||
|
||||
device->queues = vk_alloc(&device->vk.alloc,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue