From 97a7cf230a70c64fff300931ae7c00aa00449c97 Mon Sep 17 00:00:00 2001 From: Christian König Date: Mon, 25 Oct 2010 19:59:31 +0200 Subject: Workaround for skipping vertex elements for r600g --- src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c b/src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c index 1de17dd6239..977c8d67b55 100644 --- a/src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c +++ b/src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c @@ -278,7 +278,8 @@ create_frame_bi_pred_vert_shader(struct vl_mpeg12_mc_renderer *r) for (i = 0; i < 4; ++i) vtex[i] = ureg_DECL_vs_input(shader, i + 1); /* Skip input 5 */ - vtex[4] = ureg_DECL_vs_input(shader, 5); + ureg_DECL_vs_input(shader, 5); + vtex[4] = ureg_DECL_vs_input(shader, 6); o_vpos = ureg_DECL_output(shader, TGSI_SEMANTIC_POSITION, 0); for (i = 0; i < 5; ++i) o_vtex[i] = ureg_DECL_output(shader, TGSI_SEMANTIC_GENERIC, i + 1); -- cgit v1.2.3