From 0719fdee2ecd8433eb687a2fb38a2cbcb1cea14a Mon Sep 17 00:00:00 2001 From: Christian König Date: Thu, 17 Mar 2011 22:18:05 +0100 Subject: fix chroma swizzle --- src/gallium/auxiliary/vl/vl_mpeg12_context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/auxiliary/vl/vl_mpeg12_context.c b/src/gallium/auxiliary/vl/vl_mpeg12_context.c index fb0418c5a47..ce1c158e828 100644 --- a/src/gallium/auxiliary/vl/vl_mpeg12_context.c +++ b/src/gallium/auxiliary/vl/vl_mpeg12_context.c @@ -699,11 +699,11 @@ vl_create_mpeg12_context(struct pipe_context *pipe, } if(!vl_idct_init(&ctx->idct_cr, ctx->pipe, chroma_width, chroma_height, - chroma_blocks_x, chroma_blocks_y, TGSI_SWIZZLE_Y, idct_matrix)) + chroma_blocks_x, chroma_blocks_y, TGSI_SWIZZLE_Z, idct_matrix)) return false; if(!vl_idct_init(&ctx->idct_cb, ctx->pipe, chroma_width, chroma_height, - chroma_blocks_x, chroma_blocks_y, TGSI_SWIZZLE_Z, idct_matrix)) + chroma_blocks_x, chroma_blocks_y, TGSI_SWIZZLE_Y, idct_matrix)) return false; if (!vl_mpeg12_mc_renderer_init(&ctx->mc_renderer, ctx->pipe, -- cgit v1.2.3