From 14b7fdb8ac1d83bad1d8612b95a8fdd7ca68ff1e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 2 Jun 2010 16:21:47 -0600 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_flow.c b/src/gallium/auxiliary/gallivm/lp_bld_flow.c index e7759cea6a0..5bc9c741a88 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 /** -- 2.30.2