Mesa (master): glsl: bump up MAX_FOR_LOOP_UNROLL_COMPLEXITY

Brian Paul brianp at kemper.freedesktop.org
Thu Jan 8 01:49:30 UTC 2009


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

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jan  7 18:41:54 2009 -0700

glsl: bump up MAX_FOR_LOOP_UNROLL_COMPLEXITY

---

 src/mesa/shader/slang/slang_codegen.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c
index bf04cfa..ba1c955 100644
--- a/src/mesa/shader/slang/slang_codegen.c
+++ b/src/mesa/shader/slang/slang_codegen.c
@@ -68,7 +68,7 @@ const GLuint MAX_FOR_LOOP_UNROLL_BODY_SIZE = 50;
  * and the size of the body.  So long-ish loops with very simple bodies
  * can be unrolled, as well as short loops with larger bodies.
  */
-const GLuint MAX_FOR_LOOP_UNROLL_COMPLEXITY = 200;
+const GLuint MAX_FOR_LOOP_UNROLL_COMPLEXITY = 256;
 
 
 




More information about the mesa-commit mailing list