Mesa (master): nouveau: set buffer format of video buffer

Maarten Lankhorst mlankhorst at kemper.freedesktop.org
Thu Aug 15 13:26:13 UTC 2013


Module: Mesa
Branch: master
Commit: 6010c683d054d75ae2afca48c8c894f0129a9e0f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6010c683d054d75ae2afca48c8c894f0129a9e0f

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat Aug 10 04:10:28 2013 -0400

nouveau: set buffer format of video buffer

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>

---

 src/gallium/drivers/nouveau/nouveau_video.c |    1 +
 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 5c4ec0f..5377872 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;




More information about the mesa-commit mailing list