Sync with master copy.
authorVladimir Dergachev <volodya@freedesktop.org>
Tue, 4 Jan 2005 22:52:53 +0000 (22:52 +0000)
committerVladimir Dergachev <volodya@freedesktop.org>
Tue, 4 Jan 2005 22:52:53 +0000 (22:52 +0000)
src/mesa/drivers/dri/r300/r300_reg.h

index b7c8b0c383b4995541ca01c594f21c8523d50ee8..38beffbc2136a67b36c7f5f4e73b37e15496f8ec 100644 (file)
@@ -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)