Mesa (master): gallivm: bump up LP_BUILD_FLOW_MAX_VARIABLES

Brian Paul brianp at kemper.freedesktop.org
Wed Jun 2 16:36:04 PDT 2010


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

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jun  2 16:21:47 2010 -0600

gallivm: bump up LP_BUILD_FLOW_MAX_VARIABLES

Fixes failed assertion with piglit fbo-drawbuffers-fragcolor.c
See fd.o bug 28358.

With 8 color buffers + Z we need to declare 33 vars, at least.

---

 src/gallium/auxiliary/gallivm/lp_bld_flow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/gallivm/lp_bld_flow.c b/src/gallium/auxiliary/gallivm/lp_bld_flow.c
index e7759ce..5bc9c74 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_flow.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_flow.c
@@ -38,7 +38,7 @@
 #include "lp_bld_flow.h"
 
 
-#define LP_BUILD_FLOW_MAX_VARIABLES 32
+#define LP_BUILD_FLOW_MAX_VARIABLES 64
 #define LP_BUILD_FLOW_MAX_DEPTH 32
 
 /**



More information about the mesa-commit mailing list