Page 1 of 1

opencl bug

Posted: Thu Jun 20, 2019 4:31 pm
by Taka
Viewprot rendering on OpenCL is not working for me. With beta1, it works but with beta2 I get this error and blender freezes.

[LuxCore][25.656] [PathOCLBaseRenderThread::0] Compiling kernels
[LuxCore][25.765] [PathOCLBaseRenderThread::0] PathOCL kernel compilation error
ERROR clBuildProgram[CL_BUILD_PROGRAM_FAILURE]:
<kernel>:14318:88: error: too few arguments to function call, expected 11, have 10
Texture_GetSpectrumValue(material->roughmatte.kdTexIndex, hitPoint TEXTURES_PARAM));
^
<kernel>:12655:1: note: 'RoughMatteMaterial_Sample' declared here
float3 RoughMatteMaterial_Sample(

Re: opencl bug

Posted: Thu Jun 20, 2019 4:39 pm
by B.Y.O.B.
thanks for your report.
this bug has already been fixed.
https://github.com/LuxCoreRender/LuxCore/issues/218

Re: opencl bug

Posted: Fri Jun 21, 2019 3:13 pm
by Taka
ok, thanks