diff options
author | Christian König <[email protected]> | 2010-10-25 19:59:31 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2010-10-25 19:59:31 +0200 |
commit | 97a7cf230a70c64fff300931ae7c00aa00449c97 (patch) | |
tree | abd5309c0d97597854d6e06b4122a19dc399a4fb /src/gallium | |
parent | b0dfc3f261b121bf8f39da6d09731ce7beb5f742 (diff) |
Workaround for skipping vertex elements for r600g
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c | 3 |
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); |