diff options
author | Aapo Tahkola <[email protected]> | 2005-12-17 11:59:13 +0000 |
---|---|---|
committer | Aapo Tahkola <[email protected]> | 2005-12-17 11:59:13 +0000 |
commit | 1d32fc7332a8eb7ed16ae572959a671c02397be9 (patch) | |
tree | 48a546c77ad90e193a61bc3cac15d8da19b78811 | |
parent | fd1627312dcc8a10028cc7e72b367c05f1109cab (diff) |
Enable CB_DPATH by default.
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_context.h | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_ioctl.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.h b/src/mesa/drivers/dri/r300/r300_context.h index 695609d33c9..89c9ed6fb02 100644 --- a/src/mesa/drivers/dri/r300/r300_context.h +++ b/src/mesa/drivers/dri/r300/r300_context.h @@ -52,7 +52,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. //#define RADEON_VTXFMT_A //#define HW_VBOS //#define OPTIMIZE_ELTS -//#define CB_DPATH +#define CB_DPATH struct r300_context; typedef struct r300_context r300ContextRec; 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 |