Documented the value written for R300_TX_CNTL cache flush.

This commit is contained in:
Oliver McFadden 2007-03-13 06:08:36 +00:00
parent 53f83b435c
commit 19fbe9732c
2 changed files with 3 additions and 1 deletions

View file

@ -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 ++;

View file

@ -497,6 +497,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
/* Zero to flush caches. */
#define R300_TX_CNTL 0x4100
#define R300_TX_FLUSH 0x0
/* The upper enable bits are guessed, based on fglrx reported limits. */
#define R300_TX_ENABLE 0x4104