diff options
author | Dave Airlie <airlied@redhat.com> | 2009-01-29 23:01:21 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-01-29 23:01:21 +1000 |
commit | ab6edc9dce3ee0c63037c155a40d97a868c19341 (patch) | |
tree | 12bd88f346c885cc508980cddacd2aab6c54167a /src/mesa/drivers/dri/radeon | |
parent | f69e2f42d53337702ce52173a58a49e53bfdee56 (diff) |
radeon: add repeated register packet one
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r-- | src/mesa/drivers/dri/radeon/common_cmdbuf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/common_cmdbuf.h b/src/mesa/drivers/dri/radeon/common_cmdbuf.h index e5d524f104..b4ed153d26 100644 --- a/src/mesa/drivers/dri/radeon/common_cmdbuf.h +++ b/src/mesa/drivers/dri/radeon/common_cmdbuf.h @@ -16,6 +16,7 @@ void rcommonBeginBatch(radeonContextPtr rmesa, #define CP_PACKET2 (2 << 30) #define CP_PACKET0(reg, n) (RADEON_CP_PACKET0 | ((n)<<16) | ((reg)>>2)) +#define CP_PACKET0_ONE(reg, n) (RADEON_CP_PACKET0 | RADEON_CP_PACKET0_ONE_REG_WR | ((n)<<16) | ((reg)>>2)) #define CP_PACKET3( pkt, n ) \ (RADEON_CP_PACKET3 | (pkt) | ((n) << 16)) |