From: Roland Scheidegger Date: Tue, 17 Jul 2007 10:56:30 +0000 (+0200) Subject: increase MAX_RELOCS so never run out before batch buffer is full (fixes xdemos/shape) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4dd8e2648d7ec8634d1005aae2da562b57b0267f;p=mesa.git increase MAX_RELOCS so never run out before batch buffer is full (fixes xdemos/shape) --- 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