mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-20 15:38:19 +02:00
[g3dvl] fix setting width, height and chroma format in video buffer
This commit is contained in:
parent
f3f212acf0
commit
559f6d6cf4
1 changed files with 3 additions and 0 deletions
|
|
@ -180,6 +180,9 @@ vl_video_buffer_init(struct pipe_video_context *context,
|
|||
buffer->base.get_sampler_view_planes = vl_video_buffer_sampler_view_planes;
|
||||
buffer->base.get_sampler_view_components = vl_video_buffer_sampler_view_components;
|
||||
buffer->base.get_surfaces = vl_video_buffer_surfaces;
|
||||
buffer->base.chroma_format = chroma_format;
|
||||
buffer->base.width = width;
|
||||
buffer->base.height = height;
|
||||
buffer->pipe = pipe;
|
||||
buffer->num_planes = 1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue