gallivm: don't calculate square root of rho if we use accurate rho method
[mesa.git] / src / gallium / auxiliary / gallivm / lp_bld_limits.h
index 29bb9e3974fc8325505c0fbf020470b736e1deaa..5675e367c4e118f1dee9ab7ff3f774909a22e63c 100644 (file)
 /**
  * Maximum control flow nesting
  *
- * SM3.0 requires 24
+ * SM4.0 requires 64 (per subroutine actually, subroutine nesting itself is 32)
+ * SM3.0 requires 24 (most likely per subroutine too)
+ * add 2 more (some translation could add one more)
  */
-#define LP_MAX_TGSI_NESTING 32
+#define LP_MAX_TGSI_NESTING 66
 
 /**
  * Maximum iterations before loop termination