radv/anv/wsi: drop unneeded parameter
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
aeceec54a8
commit
32d70c0d66
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -222,7 +222,7 @@ VkResult anv_QueuePresentKHR(
|
|||
|
||||
anv_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)
|
||||
|
|
|
@ -66,7 +66,6 @@ struct anv_swapchain {
|
|||
uint64_t timeout, VkSemaphore semaphore,
|
||||
uint32_t *image_index);
|
||||
VkResult (*queue_present)(struct anv_swapchain *swap_chain,
|
||||
struct anv_queue *queue,
|
||||
uint32_t image_index);
|
||||
};
|
||||
|
||||
|
|
|
@ -554,7 +554,6 @@ static const struct wl_callback_listener frame_listener = {
|
|||
|
||||
static VkResult
|
||||
wsi_wl_swapchain_queue_present(struct anv_swapchain *anv_chain,
|
||||
struct anv_queue *queue,
|
||||
uint32_t image_index)
|
||||
{
|
||||
struct wsi_wl_swapchain *chain = (struct wsi_wl_swapchain *)anv_chain;
|
||||
|
|
|
@ -594,7 +594,6 @@ x11_acquire_next_image(struct anv_swapchain *anv_chain,
|
|||
|
||||
static VkResult
|
||||
x11_queue_present(struct anv_swapchain *anv_chain,
|
||||
struct anv_queue *queue,
|
||||
uint32_t image_index)
|
||||
{
|
||||
struct x11_swapchain *chain = (struct x11_swapchain *)anv_chain;
|
||||
|
|
Loading…
Reference in New Issue