From: Erik Faye-Lund Date: Fri, 12 Jul 2019 09:40:12 +0000 (+0200) Subject: zink: stub resource_from_handle X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=67d2e6258e90f9049a05555a2bb09184d620d42c;p=mesa.git zink: stub resource_from_handle Acked-by: Jordan Justen --- diff --git a/src/gallium/drivers/zink/zink_resource.c b/src/gallium/drivers/zink/zink_resource.c index 658774fcdf0..8ce90bb50c4 100644 --- a/src/gallium/drivers/zink/zink_resource.c +++ b/src/gallium/drivers/zink/zink_resource.c @@ -322,12 +322,22 @@ zink_resource_get_handle(struct pipe_screen *pscreen, return true; } +static struct pipe_resource * +zink_resource_from_handle(struct pipe_screen *pscreen, + const struct pipe_resource *templat, + struct winsys_handle *whandle, + unsigned usage) +{ + return NULL; +} + void zink_screen_resource_init(struct pipe_screen *pscreen) { pscreen->resource_create = zink_resource_create; pscreen->resource_destroy = zink_resource_destroy; pscreen->resource_get_handle = zink_resource_get_handle; + pscreen->resource_from_handle = zink_resource_from_handle; } static bool