summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2009-07-08 09:13:36 +0200
committerMichel Dänzer <daenzer@vmware.com>2009-07-08 09:13:36 +0200
commit9ca0aeaad01b7c682396b30af48668f287a59d6e (patch)
treeed8f6fd81b10e3295e70a6f9627c5d0866904cbb
parentf718dd794477fbdd5eeb4183f43ff25517c63034 (diff)
Pass on CS relocation offset values.
Not actually used ATM, but just in case...
-rw-r--r--src/radeon_macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_macros.h b/src/radeon_macros.h
index 15d9d73a..b3b740f1 100644
--- a/src/radeon_macros.h
+++ b/src/radeon_macros.h
@@ -176,7 +176,7 @@ do { \
#define EMIT_OFFSET(reg, value, pPix, rd, wd) do { \
if (info->cs) { \
driver_priv = exaGetPixmapDriverPrivate(pPix); \
- OUT_ACCEL_REG((reg), 0); \
+ OUT_ACCEL_REG((reg), (value)); \
OUT_RELOC(driver_priv->bo, (rd), (wd)); \
} else { \
uint32_t _pix_offset; \