increase MAX_RELOCS so never run out before batch buffer is full (fixes xdemos/shape)
authorRoland Scheidegger <sroland@tungstengraphics.com>
Tue, 17 Jul 2007 10:56:30 +0000 (12:56 +0200)
committerRoland Scheidegger <sroland@tungstengraphics.com>
Tue, 17 Jul 2007 10:56:30 +0000 (12:56 +0200)
src/mesa/drivers/dri/i915tex/intel_batchbuffer.h

index 59261f727419d854361a091402f1a36deba05e5a..212f1301012e8b92a55529d9b9f053300863c532 100644 (file)
@@ -9,7 +9,7 @@ struct intel_context;
 #define BATCH_SZ 16384
 #define BATCH_RESERVED 16
 
-#define MAX_RELOCS 400
+#define MAX_RELOCS 4096
 
 #define INTEL_BATCH_NO_CLIPRECTS 0x1
 #define INTEL_BATCH_CLIPRECTS    0x2