summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_cs_inlines.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/r300/r300_cs_inlines.h')
-rw-r--r--src/gallium/drivers/r300/r300_cs_inlines.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_cs_inlines.h b/src/gallium/drivers/r300/r300_cs_inlines.h
index 71e6623699..b7c04fde1a 100644
--- a/src/gallium/drivers/r300/r300_cs_inlines.h
+++ b/src/gallium/drivers/r300/r300_cs_inlines.h
@@ -26,6 +26,11 @@
#ifdef R300_CS_H
+#define RADEON_ONE_REG_WR (1 << 15)
+
+#define CS_OUT_ONE_REG(register, count) \
+ OUT_CS_REG_SEQ(register, (count | RADEON_ONE_REG_WR))
+
#define R300_PACIFY do { \
OUT_CS_REG(R300_SC_SCREENDOOR, 0x0); \
OUT_CS_REG(RADEON_WAIT_UNTIL, (1 << 15) | (1 << 17) | \