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

Chad Versace chad at chad-versace.us
Fri Oct 7 15:55:37 PDT 2011


Sine i965 will soon use meta-ops to perform HiZ resolves, the meta-op stack
will exceed 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 fc25f92..210786a 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.2



More information about the mesa-dev mailing list