diff options
author | Vladimir Dergachev <[email protected]> | 2005-01-04 22:52:53 +0000 |
---|---|---|
committer | Vladimir Dergachev <[email protected]> | 2005-01-04 22:52:53 +0000 |
commit | 065f725672434319da6e5d91cc17c37a2e9c50eb (patch) | |
tree | 5a868bb195fc0c2452b1487401a75ca02f8a3b2f | |
parent | 6b185aaedfacf3cc435d575585cc5f2e029bece6 (diff) |
Sync with master copy.
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_reg.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_reg.h b/src/mesa/drivers/dri/r300/r300_reg.h index b7c8b0c383b..38beffbc213 100644 --- a/src/mesa/drivers/dri/r300/r300_reg.h +++ b/src/mesa/drivers/dri/r300/r300_reg.h @@ -587,6 +587,11 @@ I am fairly certain that they are correct unless stated otherwise in comments. # define R300_TX_SIZE_SHIFT 26 /* largest of width, height */ # define R300_TX_SIZE_MASK (15 << 26) #define R300_TX_FORMAT_0 0x44C0 + /* Note - other bits are not known yet.. */ +# define R300_TX_FORMAT_WIDTH_SHIFT 12 +# define R300_TX_FORMAT_WIDTH_MASK (0xf<<R300_TX_FORMAT_WIDTH_SHIFT) +# define R300_TX_FORMAT_HEIGHT_SHIFT 16 +# define R300_TX_FORMAT_HEIGHT_MASK (0xf<<R300_TX_FORMAT_HEIGHT_SHIFT) #define R300_TX_OFFSET_0 0x4540 /* BEGIN: Guess from R200 */ # define R300_TXO_ENDIAN_NO_SWAP (0 << 0) |