Hello everyone, I’ve successfully built Cycles for the iPad, and it runs well when rendering on the CPU. However, I encounter issues when trying to render on the GPU. The problem arises in this code:
When attempting to access or write to the stack array, I receive an error stating “Compute function exceeds available temporary registers”. I would appreciate any assistance in resolving this issue. Can anybody help to fix this problem.
I’ve never tried building Cycles for the iPad, and it’s not something we support. You can try experimenting yourself to try to find a solution.
For example you could try reducing the value of SVM_STACK_SIZE, or commenting out the cases for some more expensive nodes in this function (NODE_TEX_VORONOI, NODE_TEX_NOISE, …) and see if that helps.
In kernel/types.h there are also features you can try disabling to help identify where the problem is coming from.
Thanks,I’ve tried to set SVM_STACK_SIZE to 1,but it’s still not working.By disable the #defineSVM,the problem is gone, but the render result image is not colors, just a gray image, shader is gone.