[Mesa-dev] [PATCH v2 13/32] vulkan/wsi: Implement prime in a completely generic way

Chad Versace chadversary at chromium.org
Fri Dec 1 01:52:21 UTC 2017


On Tue 28 Nov 2017, Jason Ekstrand wrote:
> ---
>  src/amd/vulkan/radv_wsi.c           | 137 +++------------
>  src/intel/vulkan/anv_wsi.c          |  14 +-
>  src/vulkan/wsi/wsi_common.c         | 341 +++++++++++++++++++++++++++++++++++-
>  src/vulkan/wsi/wsi_common.h         |  54 +++++-
>  src/vulkan/wsi/wsi_common_private.h |  16 ++
>  src/vulkan/wsi/wsi_common_wayland.c |   6 +-
>  src/vulkan/wsi/wsi_common_x11.c     |  87 +++++----
>  7 files changed, 475 insertions(+), 180 deletions(-)
> 
> diff --git a/src/amd/vulkan/radv_wsi.c b/src/amd/vulkan/radv_wsi.c
> index 247f7cc..589eb5c 100644
> --- a/src/amd/vulkan/radv_wsi.c
> +++ b/src/amd/vulkan/radv_wsi.c
> @@ -40,6 +40,13 @@ radv_wsi_proc_addr(VkPhysicalDevice physicalDevice, const char *pName)
>  	return radv_lookup_entrypoint(pName);
>  }
>  
> +static uint32_t
> +anv_wsi_queue_get_family_index(VkQueue _queue)

This function should have the 'radv' prefix, not 'anv'.

Other than that, this patch is
Reviewed-by: Chad Versace <chadversary at chromium.org>


More information about the mesa-dev mailing list