Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net>

On Tue, Nov 20, 2018 at 11:38 AM Eric Engestrom <eric.engest...@intel.com>
wrote:

> Fixes: 59e58c348e6af16a5f2dd "vulkan/wsi: Only wait on semaphores on the
> first swapchain"
> Cc: Jason Ekstrand <jason.ekstr...@intel.com>
> Signed-off-by: Eric Engestrom <eric.engest...@intel.com>
> ---
>  src/vulkan/wsi/wsi_common.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/vulkan/wsi/wsi_common.c b/src/vulkan/wsi/wsi_common.c
> index 40034f404a054d9babf3..ec869a68b3a85d1692ae 100644
> --- a/src/vulkan/wsi/wsi_common.c
> +++ b/src/vulkan/wsi/wsi_common.c
> @@ -955,8 +955,8 @@ wsi_common_queue_present(const struct wsi_device *wsi,
>           /* We only need/want to wait on semaphores once.  After that,
> we're
>            * guaranteed ordering since it all happens on the same queue.
>            */
> -         submit_info.waitSemaphoreCount =
> pPresentInfo->waitSemaphoreCount,
> -         submit_info.pWaitSemaphores = pPresentInfo->pWaitSemaphores,
> +         submit_info.waitSemaphoreCount =
> pPresentInfo->waitSemaphoreCount;
> +         submit_info.pWaitSemaphores = pPresentInfo->pWaitSemaphores;
>
>           /* Set up the pWaitDstStageMasks */
>           stage_flags = vk_alloc(&swapchain->alloc,
> --
> Cheers,
>   Eric
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to