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:
Brecht Van Lommel
2018-07-18 22:58:52 +02:00
parent e81dc0b7bc
commit 20191980f4

View File

@@ -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