summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2013-08-10 04:10:28 -0400
committerMaarten Lankhorst <[email protected]>2013-08-15 15:15:04 +0200
commit6010c683d054d75ae2afca48c8c894f0129a9e0f (patch)
treee8bea5a0b140b259c91f411c49448d0043482852 /src/gallium
parent8975f83402e3f5915f3f1a27599c24d908b7706d (diff)
nouveau: set buffer format of video buffer
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/nouveau/nouveau_video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_video.c b/src/gallium/drivers/nouveau/nouveau_video.c
index 5c4ec0faf65..5377872077c 100644
--- a/src/gallium/drivers/nouveau/nouveau_video.c
+++ b/src/gallium/drivers/nouveau/nouveau_video.c
@@ -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;