Mesa (mesa_7_5_branch): tgsi: increase MAX_LABELS to 4096

Brian Paul brianp at kemper.freedesktop.org
Thu Jun 4 19:13:37 UTC 2009


Module: Mesa
Branch: mesa_7_5_branch
Commit: 45e744dddc8a8f3b42610bfa512bc296bd5264bc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=45e744dddc8a8f3b42610bfa512bc296bd5264bc

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jun  4 13:08:52 2009 -0600

tgsi: increase MAX_LABELS to 4096

---

 src/gallium/auxiliary/tgsi/tgsi_exec.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.h b/src/gallium/auxiliary/tgsi/tgsi_exec.h
index 0b4b2a6..da22baa 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_exec.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_exec.h
@@ -34,7 +34,7 @@
 extern "C" {
 #endif
 
-#define MAX_LABELS 1024
+#define MAX_LABELS (4 * 1024)  /**< basically, max instructions */
 
 #define NUM_CHANNELS 4  /* R,G,B,A */
 #define QUAD_SIZE    4  /* 4 pixel/quad */




More information about the mesa-commit mailing list