state cache is automagically flushed on a normal BEGIN_RING_SIZE
authorBen Skeggs <darktama@iinet.net.au>
Fri, 8 Dec 2006 11:51:50 +0000 (11:51 +0000)
committerBen Skeggs <darktama@iinet.net.au>
Fri, 8 Dec 2006 11:51:50 +0000 (11:51 +0000)
src/mesa/drivers/dri/nouveau/nv30_state.c

index aab0bd9fda8d18112da6f2ce6448b4faed840363..f0b37a76f5b9e016cb401792c4bc91eeb900c897 100644 (file)
@@ -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);
        }