4
0
mirror of https://github.com/revyos-package/mesa.git synced 2026-04-28 09:13:36 +00:00

gallium/vl: stub vl_video_buffer_create_as_resource

It's used by radeonsi

Cc: mesa-stable
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Acked-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26680>
(cherry picked from commit 95871d48aadf4babf6b0106ff52c46b51a43b0c9)
This commit is contained in:
Karol Herbst
2023-12-14 03:19:34 +01:00
committed by Eric Engestrom
parent 6b7a7dbee3
commit 4ed7184aef
2 changed files with 11 additions and 1 deletions

View File

@@ -1114,7 +1114,7 @@
"description": "gallium/vl: stub vl_video_buffer_create_as_resource",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View File

@@ -108,6 +108,16 @@ vl_video_buffer_create_ex2(struct pipe_context *pipe,
return NULL;
}
struct pipe_video_buffer *
vl_video_buffer_create_as_resource(struct pipe_context *pipe,
const struct pipe_video_buffer *tmpl,
const uint64_t *modifiers,
int modifiers_count)
{
assert(0);
return NULL;
}
void
vl_video_buffer_destroy(struct pipe_video_buffer *buffer)
{