[Bf-blender-cvs] [7ec9155] object_nodes: Bump the BVM stack size to 4095.

Lukas Tönne noreply at git.blender.org
Mon Dec 7 17:13:10 CET 2015


Commit: 7ec91558f81b24f314f0a4a93f2016e6a33716b2
Author: Lukas Tönne
Date:   Mon Dec 7 17:11:34 2015 +0100
Branches: object_nodes
https://developer.blender.org/rB7ec91558f81b24f314f0a4a93f2016e6a33716b2

Bump the BVM stack size to 4095.

Currently there is no optimization for stack usage, which would ultimately
reduce the required stack size dramatically. 255 is still very low though.

===================================================================

M	source/blender/blenvm/bvm/bvm_eval.h

===================================================================

diff --git a/source/blender/blenvm/bvm/bvm_eval.h b/source/blender/blenvm/bvm/bvm_eval.h
index dc55c15..646d463 100644
--- a/source/blender/blenvm/bvm/bvm_eval.h
+++ b/source/blender/blenvm/bvm/bvm_eval.h
@@ -46,7 +46,7 @@ namespace bvm {
 
 struct Function;
 
-#define BVM_STACK_SIZE 255
+#define BVM_STACK_SIZE 4095
 
 #if 0
 struct EvalResult {




More information about the Bf-blender-cvs mailing list