Cycles: increase volume stack to support 32 overlapping volumes.
This increases stack memory usage some, and ideally we'd support a dynamic size. But this is quite difficult on the GPU and hopefully 32 is enough even for very complex cases.
This commit is contained in:
@@ -54,7 +54,7 @@ CCL_NAMESPACE_BEGIN
|
||||
#define PRIM_NONE (~0)
|
||||
#define LAMP_NONE (~0)
|
||||
|
||||
#define VOLUME_STACK_SIZE 16
|
||||
#define VOLUME_STACK_SIZE 32
|
||||
|
||||
/* Split kernel constants */
|
||||
#define WORK_POOL_SIZE_GPU 64
|
||||
|
Reference in New Issue
Block a user