summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian König <[email protected]>2011-03-17 22:18:05 +0100
committerChristian König <[email protected]>2011-03-19 00:06:46 +0100
commit0719fdee2ecd8433eb687a2fb38a2cbcb1cea14a (patch)
treea4b18ad19d9ba268d7399f7308d9a47688a9a7fd /src
parent1d72cf6986168a49fbadfa31e9d719ed0222836f (diff)
fix chroma swizzle
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/vl/vl_mpeg12_context.c4
1 files 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,