mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-02 15:20:26 +01: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 95871d48aa)
This commit is contained in:
parent
d8246f604d
commit
75a8d20ae6
2 changed files with 11 additions and 1 deletions
|
|
@ -944,7 +944,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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue