summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-09-03 00:32:27 -0400
committerAlex Deucher <alexdeucher@gmail.com>2010-09-03 00:32:27 -0400
commit7cc0d3311f23ad569af004e0e4a0e2efbac107e5 (patch)
tree4bb8876d11c985cd086505e040019e135162e316 /src
parent7c6ce4e62693f446d7d3c8a86502ccc03c0e55b0 (diff)
evergreen: fix Xv
VS const buffer offset was wrong. fixes: https://bugs.freedesktop.org/show_bug.cgi?id=29788
Diffstat (limited to 'src')
-rw-r--r--src/evergreen_textured_videofuncs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evergreen_textured_videofuncs.c b/src/evergreen_textured_videofuncs.c
index 7cf72793..a6746806 100644
--- a/src/evergreen_textured_videofuncs.c
+++ b/src/evergreen_textured_videofuncs.c
@@ -487,7 +487,7 @@ EVERGREENDisplayTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv)
/* VS alu constants */
vs_const_conf.bo = accel_state->cbuf.vb_bo;
- vs_const_conf.const_addr = accel_state->cbuf.vb_mc_addr + accel_state->cbuf.vb_start_op;
+ vs_const_conf.const_addr = accel_state->cbuf.vb_mc_addr + accel_state->cbuf.vb_start_op + 256;
evergreen_set_alu_consts(pScrn, &vs_const_conf, RADEON_GEM_DOMAIN_GTT);
if (pPriv->vsync) {