summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_cs.h
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-01-21 23:48:47 -0800
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-02-01 23:30:25 -0800
commit0ff7cb7c89f0c9ac4e363296e53eada008717252 (patch)
tree72ad1cdeb16490e1321da351b1ae8a81ebc1eafb /src/gallium/drivers/r300/r300_cs.h
parent7d63ff93cbf0f342c3736f4c8fae75157a62f0ea (diff)
r300: Add num_vert_pipes (and remove busted num_pipes.)
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 59ca985f40..67cb5ee7d1 100644
--- a/src/gallium/drivers/r300/r300_cs.h
+++ b/src/gallium/drivers/r300/r300_cs.h
@@ -55,6 +55,9 @@ static uint32_t pack_float_32(float f)
#define CP_PACKET0(register, count) \
(RADEON_CP_PACKET0 | ((count) << 16) | ((register) >> 2))
+#define CP_PACKET3(op, count) \
+ (RADEON_CP_PACKET3 | (op) | ((count) << 16))
+
#define CS_LOCALS(context) \
struct r300_winsys* cs_winsys = context->winsys; \
struct radeon_cs* cs = cs_winsys->cs