glsl: bump up MAX_FOR_LOOP_UNROLL_COMPLEXITY
authorBrian Paul <brianp@vmware.com>
Thu, 8 Jan 2009 01:41:54 +0000 (18:41 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 8 Jan 2009 01:41:54 +0000 (18:41 -0700)
src/mesa/shader/slang/slang_codegen.c

index bf04cfa..ba1c955 100644 (file)
@@ -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;