diff options
author | Dave Airlie <[email protected]> | 2010-08-06 14:53:38 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-08-06 14:53:38 +1000 |
commit | 2b9036476511edd549d1c2cea6044eef4652a19c (patch) | |
tree | 2ecfc1be35e18303d074afdf423403323d80df40 /src/gallium/drivers/r600/r600d.h | |
parent | 121a625c1651ddc181e374ebdf16bc5c46f6eaa9 (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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600d.h')
-rw-r--r-- | src/gallium/drivers/r600/r600d.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600d.h b/src/gallium/drivers/r600/r600d.h index 8205bdeadc7..2d0ede20fa1 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 |