radeon: make swtcl emit size bigger
authorDave Airlie <airlied@linux.ie>
Fri, 10 Jul 2009 17:01:04 +0000 (03:01 +1000)
committerDave Airlie <airlied@linux.ie>
Fri, 10 Jul 2009 17:17:12 +0000 (03:17 +1000)
src/mesa/drivers/dri/radeon/radeon_dma.c

index dc9a0157f7521947dd3f1a16dd4494c2f647cc1e..84bd1ec9d098ec21d6293988f958170fd88f572b 100644 (file)
@@ -299,7 +299,7 @@ restart:
         if (!rmesa->dma.flush) {
                /* make sure we have enough space to use this in cmdbuf */
                rcommonEnsureCmdBufSpace(rmesa,
-                             rmesa->hw.max_state_size + (12*sizeof(int)),
+                             rmesa->hw.max_state_size + (20*sizeof(int)),
                              __FUNCTION__);
                /* if cmdbuf flushed DMA restart */
                if (!rmesa->dma.current)