diff options
author | Nicolai Haehnle <prefect_@gmx.net> | 2005-05-13 21:00:11 +0000 |
---|---|---|
committer | Nicolai Haehnle <prefect_@gmx.net> | 2005-05-13 21:00:11 +0000 |
commit | ee83a1302fc54b82f496133d9bcc34426baa7acb (patch) | |
tree | 32b598e74ccb1e56c00e11d10df7d04d215db268 | |
parent | 7012d01d888d482f2c6ad1180231a482026d213a (diff) |
Remove quiescence sequence from r300ClearBuffer.
The DRM is responsible for emitting this quiescence sequence when
appropriate.
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_ioctl.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_ioctl.c b/src/mesa/drivers/dri/r300/r300_ioctl.c index 56e7b3e2af..07f14fbc53 100644 --- a/src/mesa/drivers/dri/r300/r300_ioctl.c +++ b/src/mesa/drivers/dri/r300/r300_ioctl.c @@ -247,13 +247,6 @@ static void r300ClearBuffer(r300ContextPtr r300, int flags, int buffer) /* Make sure we have enough space */ r300EnsureCmdBufSpace(r300, r300->hw.max_state_size + 9+8, __FUNCTION__); - /* needed before starting 3d operation .. */ - reg_start(R300_RB3D_DSTCACHE_CTLSTAT,0); - e32(0x0000000a); - - reg_start(0x4f18,0); - e32(0x00000003); - r300EmitState(r300); cmd2 = (drm_r300_cmd_header_t*)r300AllocCmdBuf(r300, 9, __FUNCTION__); @@ -267,16 +260,6 @@ static void r300ClearBuffer(r300ContextPtr r300, int flags, int buffer) cmd2[6].u = r300PackFloat32(ctx->Color.ClearColor[1]); cmd2[7].u = r300PackFloat32(ctx->Color.ClearColor[2]); cmd2[8].u = r300PackFloat32(ctx->Color.ClearColor[3]); - - /* This sequence is required after any 3d drawing packet - I suspect it work arounds a bug (or deficiency) in hardware */ - - reg_start(R300_RB3D_DSTCACHE_CTLSTAT,0); - e32(0x0000000a); - - reg_start(0x4f18,0); - e32(0x00000003); - } |