From: Christian König Date: Thu, 17 Mar 2011 21:18:05 +0000 (+0100) Subject: fix chroma swizzle X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0719fdee2ecd8433eb687a2fb38a2cbcb1cea14a;p=mesa.git fix chroma swizzle --- 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,