mirror of
https://gitlab.freedesktop.org/mesa/vulkan-wsi-layer.git
synced 2026-05-05 07:38:24 +02:00
Fix int -> unsigned int conversion warnings in dispatch funcs
Signed-off-by: Alex Bates <alex.bates@arm.com> Change-Id: Ieaa2191bdb38e755ba64a63da021b1ce81a19c0c
This commit is contained in:
parent
ad61e4292d
commit
2a8d0e47b2
2 changed files with 2 additions and 2 deletions
|
|
@ -423,7 +423,7 @@ wsi_layer_vkBindImageMemory2(VkDevice device, uint32_t bindInfoCount,
|
|||
if (bind_sc_info == nullptr || bind_sc_info->swapchain == VK_NULL_HANDLE ||
|
||||
!device_data.layer_owns_swapchain(bind_sc_info->swapchain))
|
||||
{
|
||||
result = device_data.disp.BindImageMemory2KHR(device, 1, &pBindInfos[i]);
|
||||
result = device_data.disp.BindImageMemory2KHR(device, 1u, &pBindInfos[i]);
|
||||
error_message = "Failed to bind image memory";
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -233,7 +233,7 @@ VkResult sync_queue_submit(const layer::device_private_data &device, VkQueue que
|
|||
semaphores.signal_semaphores_count,
|
||||
semaphores.signal_semaphores };
|
||||
|
||||
TRY(device.disp.QueueSubmit(queue, 1, &submit_info, fence));
|
||||
TRY(device.disp.QueueSubmit(queue, 1u, &submit_info, fence));
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue