diff options
author | Dave Airlie <airlied@redhat.com> | 2016-10-13 04:43:27 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2016-10-19 10:15:42 +1000 |
commit | 32d70c0d66ba28c7ac53b797730532c06439c799 (patch) | |
tree | 4f61241e0817f73192e90c18046598e7fd737463 /src/amd | |
parent | aeceec54a86d26aad165a1ade67a8aba61ae080f (diff) | |
download | external_mesa3d-32d70c0d66ba28c7ac53b797730532c06439c799.zip external_mesa3d-32d70c0d66ba28c7ac53b797730532c06439c799.tar.gz external_mesa3d-32d70c0d66ba28c7ac53b797730532c06439c799.tar.bz2 |
radv/anv/wsi: drop unneeded parameter
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/vulkan/radv_wsi.c | 2 | ||||
-rw-r--r-- | src/amd/vulkan/radv_wsi.h | 1 | ||||
-rw-r--r-- | src/amd/vulkan/radv_wsi_wayland.c | 1 | ||||
-rw-r--r-- | src/amd/vulkan/radv_wsi_x11.c | 1 |
4 files changed, 1 insertions, 4 deletions
diff --git a/src/amd/vulkan/radv_wsi.c b/src/amd/vulkan/radv_wsi.c index c30112a..1a0171d 100644 --- a/src/amd/vulkan/radv_wsi.c +++ b/src/amd/vulkan/radv_wsi.c @@ -224,7 +224,7 @@ VkResult radv_QueuePresentKHR( radv_QueueSubmit(_queue, 0, NULL, swapchain->fences[0]); - result = swapchain->queue_present(swapchain, queue, + result = swapchain->queue_present(swapchain, pPresentInfo->pImageIndices[i]); /* TODO: What if one of them returns OUT_OF_DATE? */ if (result != VK_SUCCESS) diff --git a/src/amd/vulkan/radv_wsi.h b/src/amd/vulkan/radv_wsi.h index d624ab2..04fd0f6 100644 --- a/src/amd/vulkan/radv_wsi.h +++ b/src/amd/vulkan/radv_wsi.h @@ -67,7 +67,6 @@ struct radv_swapchain { uint64_t timeout, VkSemaphore semaphore, uint32_t *image_index); VkResult (*queue_present)(struct radv_swapchain *swap_chain, - struct radv_queue *queue, uint32_t image_index); }; diff --git a/src/amd/vulkan/radv_wsi_wayland.c b/src/amd/vulkan/radv_wsi_wayland.c index 675c8a2..06af894 100644 --- a/src/amd/vulkan/radv_wsi_wayland.c +++ b/src/amd/vulkan/radv_wsi_wayland.c @@ -552,7 +552,6 @@ static const struct wl_callback_listener frame_listener = { static VkResult wsi_wl_swapchain_queue_present(struct radv_swapchain *radv_chain, - struct radv_queue *queue, uint32_t image_index) { struct wsi_wl_swapchain *chain = (struct wsi_wl_swapchain *)radv_chain; diff --git a/src/amd/vulkan/radv_wsi_x11.c b/src/amd/vulkan/radv_wsi_x11.c index cbb5b30..2da8195 100644 --- a/src/amd/vulkan/radv_wsi_x11.c +++ b/src/amd/vulkan/radv_wsi_x11.c @@ -599,7 +599,6 @@ x11_acquire_next_image(struct radv_swapchain *radv_chain, static VkResult x11_queue_present(struct radv_swapchain *radv_chain, - struct radv_queue *queue, uint32_t image_index) { struct x11_swapchain *chain = (struct x11_swapchain *)radv_chain; |