summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_cs.h
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-01-17 03:20:48 -0800
committerCorbin Simpson <[email protected]>2009-02-01 23:30:23 -0800
commit7961974fc28257b293961d35f15c0ce7a85f2669 (patch)
tree13a4b6dc8e8f1845505cea0a8bce67ef6d0417e6 /src/gallium/drivers/r300/r300_cs.h
parent4ea17301c60a805394b8938174d8f436dc3deb6d (diff)
r300: Add a basic dirty state emit.
I feel strangely unproductive. Must be the cold.
Diffstat (limited to 'src/gallium/drivers/r300/r300_cs.h')
-rw-r--r--src/gallium/drivers/r300/r300_cs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_cs.h b/src/gallium/drivers/r300/r300_cs.h
index 92ed8076577..3dacf253808 100644
--- a/src/gallium/drivers/r300/r300_cs.h
+++ b/src/gallium/drivers/r300/r300_cs.h
@@ -37,6 +37,9 @@
#define RADEON_GEM_DOMAIN_GTT 0x2
#define RADEON_GEM_DOMAIN_VRAM 0x4
+/* XXX stolen from radeon_reg.h */
+#define RADEON_CP_PACKET0 0x0
+
#define CP_PACKET0(register, count) \
(RADEON_CP_PACKET0 | ((count) << 16) | ((register) >> 2))