mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 17:48:10 +02:00
nouveau: set buffer format of video buffer
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
8975f83402
commit
6010c683d0
1 changed files with 1 additions and 0 deletions
|
|
@ -810,6 +810,7 @@ nouveau_video_buffer_create(struct pipe_context *pipe,
|
|||
buffer->base.get_sampler_view_components = nouveau_video_buffer_sampler_view_components;
|
||||
buffer->base.get_surfaces = nouveau_video_buffer_surfaces;
|
||||
buffer->base.chroma_format = templat->chroma_format;
|
||||
buffer->base.buffer_format = templat->buffer_format;
|
||||
buffer->base.width = width;
|
||||
buffer->base.height = height;
|
||||
buffer->num_planes = 2;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue