[Mesa-dev] [PATCH 3/6] mesa: Bump MAX_META_OPS_DEPTH from 2 to 8

Chad Versace chad at chad-versace.us
Mon Oct 17 07:27:08 PDT 2011


When i965 uses (in the near future) meta-ops to perform buffer resolves,
the meta-op stack exceeds depth 2. I bumped it to 8 because... 8 is bigger
than 2, but not too big.

Signed-off-by: Chad Versace <chad at chad-versace.us>
---
 src/mesa/drivers/common/meta.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c
index 4add2c5..a3e6c53 100644
--- a/src/mesa/drivers/common/meta.c
+++ b/src/mesa/drivers/common/meta.c
@@ -278,7 +278,7 @@ struct decompress_state
 };
 
 
-#define MAX_META_OPS_DEPTH      2
+#define MAX_META_OPS_DEPTH      8
 /**
  * All per-context meta state.
  */
-- 
1.7.6.4



More information about the mesa-dev mailing list