aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2006-12-08 11:51:50 +0000
committerBen Skeggs <[email protected]>2006-12-08 11:51:50 +0000
commit046ece3a2da89c30c8d1bfa25389b19caad0a64c (patch)
tree7a9460c16770625aaebb361b8e893b7f9fa0f7bd
parente62b2f9c2ec083db40abcf2991201e9e108861f1 (diff)
state cache is automagically flushed on a normal BEGIN_RING_SIZE
-rw-r--r--src/mesa/drivers/dri/nouveau/nv30_state.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv30_state.c b/src/mesa/drivers/dri/nouveau/nv30_state.c
index aab0bd9fda8..f0b37a76f5b 100644
--- a/src/mesa/drivers/dri/nouveau/nv30_state.c
+++ b/src/mesa/drivers/dri/nouveau/nv30_state.c
@@ -90,7 +90,6 @@ static void nv30Clear(GLcontext *ctx, GLbitfield mask)
hw_bufs |= 0x03;
if (hw_bufs) {
- /* should we flush the state cache before this? */
BEGIN_RING_SIZE(NvSub3D, NV30_TCL_PRIMITIVE_3D_CLEAR_WHICH_BUFFERS, 1);
OUT_RING(hw_bufs);
}