From: Chad Versace Date: Tue, 27 Sep 2011 23:23:29 +0000 (-0700) Subject: meta: Bump MAX_META_OPS_DEPTH from 2 to 8 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aa97ababfcd5ae4d4433bd5f672836f40f6595f2;p=mesa.git 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 Signed-off-by: Chad Versace --- diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c index 6958ddf9c29..c7bb9338029 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. */