mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
zink: stub resource_from_handle
Acked-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
b8a9bbeb00
commit
67d2e6258e
1 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue