vulkan/wsi: Take a vk_queue in wsi_common_queue_present()
The common entrypoint wrapper already depends on vk_queue, as do all the drivers that implement drv_QueuePresentKHR() so there's no point in passing through Vulkan API types anymore. The one functional change here is that ANV is no longer forcing the queue index to be zero, which I suspect was a mistake in the first place. Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36827>
This commit is contained in:
committed by
Marge Bot
parent
81325cf887
commit
59f85e678f
@@ -109,9 +109,7 @@ VkResult anv_QueuePresentKHR(
|
||||
anv_queue_trace(queue, NULL, true /* frame */, false /* begin */);
|
||||
|
||||
result = wsi_common_queue_present(&device->physical->wsi_device,
|
||||
anv_device_to_handle(queue->device),
|
||||
_queue, 0,
|
||||
pPresentInfo);
|
||||
&queue->vk, pPresentInfo);
|
||||
|
||||
if (u_trace_should_process(&device->ds.trace_context))
|
||||
anv_queue_trace(queue, NULL, true /* frame */, true /* begin */);
|
||||
|
||||
@@ -106,9 +106,7 @@ VkResult anv_QueuePresentKHR(
|
||||
}
|
||||
|
||||
result = wsi_common_queue_present(&device->physical->wsi_device,
|
||||
anv_device_to_handle(queue->device),
|
||||
_queue, 0,
|
||||
pPresentInfo);
|
||||
&queue->vk, pPresentInfo);
|
||||
|
||||
intel_ds_device_process(&device->ds, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user