summaryrefslogtreecommitdiff
path: root/src/radeon_reg.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2006-07-23 18:51:47 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2006-07-23 18:51:47 +0200
commitfba8c839b47e2c8d6a6d65950c3431ff5b870aa0 (patch)
tree5ad048673d73f92060e09bc7b50205cc578ad4f8 /src/radeon_reg.h
parent60ebe97e2d5d27c2bf4213e201cef74503809cb6 (diff)
Bug #6819: Fix broken rendering with *8b8g8r8 source formats.
Use the corresponding texture formats with R200 family. Unfortunately, it looks like the R100 family can't accelerate these source formats, so we have to fall back for them.
Diffstat (limited to 'src/radeon_reg.h')
-rw-r--r--src/radeon_reg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/radeon_reg.h b/src/radeon_reg.h
index 53cc8032..b7c6e263 100644
--- a/src/radeon_reg.h
+++ b/src/radeon_reg.h
@@ -2435,6 +2435,7 @@
# define R200_TXFORMAT_DXT1 (12 << 0)
# define R200_TXFORMAT_DXT23 (14 << 0)
# define R200_TXFORMAT_DXT45 (15 << 0)
+# define R200_TXFORMAT_ABGR8888 (22 << 0)
# define R200_TXFORMAT_FORMAT_MASK (31 << 0)
# define R200_TXFORMAT_FORMAT_SHIFT 0
# define R200_TXFORMAT_ALPHA_IN_MAP (1 << 6)