summaryrefslogtreecommitdiff
path: root/src/radeon_exa.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2005-09-27 23:34:11 +0000
committerEric Anholt <anholt@freebsd.org>2005-09-27 23:34:11 +0000
commitbc3c26fe365347c427e04385c1df95a5eec14f28 (patch)
tree66e8b75f4d98a8aba25e024fd20391f88f8a901b /src/radeon_exa.c
parent58dfb95c446b73fbc34784f0894cf89152dab043 (diff)
Fix Radeon MMIO Render acceleration with EXA by writing out floating- point
coordinates rather than integers.
Diffstat (limited to 'src/radeon_exa.c')
-rw-r--r--src/radeon_exa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/radeon_exa.c b/src/radeon_exa.c
index e5a9f21..9e96286 100644
--- a/src/radeon_exa.c
+++ b/src/radeon_exa.c
@@ -325,6 +325,7 @@ do { \
#define ACCEL_PREAMBLE() unsigned char *RADEONMMIO = info->MMIO
#define BEGIN_ACCEL(n) RADEONWaitForFifo(pScrn, (n))
#define OUT_ACCEL_REG(reg, val) OUTREG(reg, val)
+#define OUT_ACCEL_REG_F(reg, val) OUTREG(reg, F_TO_DW(val))
#define FINISH_ACCEL()
#ifdef RENDER