summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian König <[email protected]>2010-10-25 19:59:31 +0200
committerChristian König <[email protected]>2010-10-25 19:59:31 +0200
commit97a7cf230a70c64fff300931ae7c00aa00449c97 (patch)
treeabd5309c0d97597854d6e06b4122a19dc399a4fb /src
parentb0dfc3f261b121bf8f39da6d09731ce7beb5f742 (diff)
Workaround for skipping vertex elements for r600g
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c3
1 files changed, 2 insertions, 1 deletions
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);