Closed fo-fo closed 6 years ago
This change will rise another problem. "AdvanceIterationCount" kernel receives hitcount as ray number, so it's invalid. To fix this you need to pass "size" into this kernel in "path_tracing_estimator.cpp" instead of "m_render_data->hitcount". And modify kernel to receive this parameter by value.
Hi @fo-fo ,
Thanks for a good catch. Could you apply the remark @Kvalme pointed out? I will merge you PR afterwards.
Fixed a couple of things that I spotted from the OpenCL compiler warnings.