summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600d.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-10-25 17:44:55 +0200
committerMarek Olšák <[email protected]>2011-10-25 19:12:33 +0200
commit3d7934760930fdf208032aca2d933baf7768fdfc (patch)
tree40158c00b8e8123bf96da9e464a66e674320f209 /src/gallium/drivers/r600/r600d.h
parentdc651aff0c725846c86a32c1c076d66b3b38318f (diff)
r600g: cleanup some magic numbers
Diffstat (limited to 'src/gallium/drivers/r600/r600d.h')
-rw-r--r--src/gallium/drivers/r600/r600d.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600d.h b/src/gallium/drivers/r600/r600d.h
index 6eb44d9bd81..441c9816762 100644
--- a/src/gallium/drivers/r600/r600d.h
+++ b/src/gallium/drivers/r600/r600d.h
@@ -65,6 +65,12 @@
#define PKT3_CONTEXT_CONTROL 0x28
#define PKT3_DRAW_INDEX_IMMD_BE 0x29
#define PKT3_INDEX_TYPE 0x2A
+#define VGT_INDEX_16 0
+#define VGT_INDEX_32 1
+#define VGT_DMA_SWAP_NONE (0 << 2)
+#define VGT_DMA_SWAP_16_BIT (1 << 2)
+#define VGT_DMA_SWAP_32_BIT (2 << 2)
+#define VGT_DMA_SWAP_WORD (3 << 2)
#define PKT3_DRAW_INDEX 0x2B
#define PKT3_DRAW_INDEX_AUTO 0x2D
#define PKT3_DRAW_INDEX_IMMD 0x2E