aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_ioctl.c
diff options
context:
space:
mode:
authorAapo Tahkola <[email protected]>2005-12-17 11:59:13 +0000
committerAapo Tahkola <[email protected]>2005-12-17 11:59:13 +0000
commit1d32fc7332a8eb7ed16ae572959a671c02397be9 (patch)
tree48a546c77ad90e193a61bc3cac15d8da19b78811 /src/mesa/drivers/dri/r300/r300_ioctl.c
parentfd1627312dcc8a10028cc7e72b367c05f1109cab (diff)
Enable CB_DPATH by default.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_ioctl.c')
-rw-r--r--src/mesa/drivers/dri/r300/r300_ioctl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_ioctl.c b/src/mesa/drivers/dri/r300/r300_ioctl.c
index 79411e1dba7..94a98ca0924 100644
--- a/src/mesa/drivers/dri/r300/r300_ioctl.c
+++ b/src/mesa/drivers/dri/r300/r300_ioctl.c
@@ -552,6 +552,9 @@ static void r300Clear(GLcontext * ctx, GLbitfield mask, GLboolean all,
swapped = r300->radeon.doPageFlip && (r300->radeon.sarea->pfCurrentPage == 1);
#ifdef CB_DPATH
+ WARN_ONCE("CB_DPATH has been enabled.\nPlease let me know if this introduces new instabilities.\n");
+ /* Make sure it fits there. */
+ r300EnsureCmdBufSpace(r300, 419*3, __FUNCTION__);
if(flags || bits)
r300EmitClearState(ctx);
#endif