summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2007-07-17 12:56:30 +0200
committerRoland Scheidegger <[email protected]>2007-07-19 17:46:35 +0200
commitb9f2cf9a4e0a5ec89b27371210846942c93cb412 (patch)
tree1b97235cf81aafc0228e9528282f44edcbef6bda
parent0b48ce450eef91a9fcf6681260beb1090e0ef9d1 (diff)
increase MAX_RELOCS so never run out before batch buffer is full (fixes xdemos/shape)
-rw-r--r--src/mesa/drivers/dri/i915tex/intel_batchbuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915tex/intel_batchbuffer.h b/src/mesa/drivers/dri/i915tex/intel_batchbuffer.h
index 59261f72741..212f1301012 100644
--- a/src/mesa/drivers/dri/i915tex/intel_batchbuffer.h
+++ b/src/mesa/drivers/dri/i915tex/intel_batchbuffer.h
@@ -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