summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600d.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-08-06 14:53:38 +1000
committerDave Airlie <airlied@redhat.com>2010-08-06 14:53:38 +1000
commit2b9036476511edd549d1c2cea6044eef4652a19c (patch)
tree2ecfc1be35e18303d074afdf423403323d80df40 /src/gallium/drivers/r600/r600d.h
parent121a625c1651ddc181e374ebdf16bc5c46f6eaa9 (diff)
r600g: improve supported format selection.
This fixes fbo-readpixels piglit test, and adds support for swapping the formats. Not all formats are correct yet I don't think. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/gallium/drivers/r600/r600d.h')
-rw-r--r--src/gallium/drivers/r600/r600d.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600d.h b/src/gallium/drivers/r600/r600d.h
index 8205bdeadc..2d0ede20fa 100644
--- a/src/gallium/drivers/r600/r600d.h
+++ b/src/gallium/drivers/r600/r600d.h
@@ -1169,4 +1169,9 @@
#define G_0286D4_PNT_SPRITE_TOP_1(x) (((x) >> 14) & 0x1)
#define C_0286D4_PNT_SPRITE_TOP_1 0xFFFFBFFF
+/* temporary swap */
+#define SWAP_STD 0
+#define SWAP_ALT 1
+#define SWAP_STD_REV 2
+#define SWAP_ALT_REV 3
#endif