summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_cmdbuf.c
diff options
context:
space:
mode:
authorOliver McFadden <z3ro.geek@gmail.com>2007-03-13 06:08:36 +0000
committerOliver McFadden <z3ro.geek@gmail.com>2007-03-13 06:10:23 +0000
commit19fbe9732c92ff67911c28bf19c174326af05c84 (patch)
tree145597f96495d2eeea4e87878384b604732d6be7 /src/mesa/drivers/dri/r300/r300_cmdbuf.c
parent53f83b435ce9a94092503712e3d4e16d4c942752 (diff)
Documented the value written for R300_TX_CNTL cache flush.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_cmdbuf.c')
-rw-r--r--src/mesa/drivers/dri/r300/r300_cmdbuf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_cmdbuf.c b/src/mesa/drivers/dri/r300/r300_cmdbuf.c
index 89725447f1..e4511e0c21 100644
--- a/src/mesa/drivers/dri/r300/r300_cmdbuf.c
+++ b/src/mesa/drivers/dri/r300/r300_cmdbuf.c
@@ -174,11 +174,12 @@ static __inline__ void r300DoEmitState(r300ContextPtr r300, GLboolean dirty)
dest ++;
r300->cmdbuf.count_used ++;
+ /* Emit cache flush */
*dest = cmdpacket0(R300_TX_CNTL, 1);
dest ++;
r300->cmdbuf.count_used ++;
- *dest = 0x0;
+ *dest = R300_TX_FLUSH;
dest ++;
r300->cmdbuf.count_used ++;