Mesa (master): meta: Bump MAX_META_OPS_DEPTH from 2 to 8

Chad Versace chadversary at kemper.freedesktop.org
Tue Oct 18 11:44:16 PDT 2011


Module: Mesa
Branch: master
Commit: aa97ababfcd5ae4d4433bd5f672836f40f6595f2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa97ababfcd5ae4d4433bd5f672836f40f6595f2

Author: Chad Versace <chad at chad-versace.us>
Date:   Tue Sep 27 16:23:29 2011 -0700

meta: Bump MAX_META_OPS_DEPTH from 2 to 8

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.

Reviewed-by: Brian Paul <brianp at vmware.com>
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 6958ddf..c7bb933 100644
--- a/src/mesa/drivers/common/meta.c
+++ b/src/mesa/drivers/common/meta.c
@@ -279,7 +279,7 @@ struct decompress_state
 };
 
 
-#define MAX_META_OPS_DEPTH      2
+#define MAX_META_OPS_DEPTH      8
 /**
  * All per-context meta state.
  */



More information about the mesa-commit mailing list