Resolved bug of "Failed to set OpenCL arguments" in this patch.
While runnning openCL version of primitives, due to declaration mismatch of uchar2 and uchar3 in one variable, it bombed up this error.
Fix bug introduced with r71189 which removed output of depth buffer.
The changes modified the C code but did not change the relevant OpenCL code called in rt.cl.
The size of the arguments list between the C and OpenCL side does not match and this results in a crash.
If for whatever reason some other command other than rt requires the depth data, then please apply the patch by Rishabh Suthar instead of the patch I supplied above.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Fix bug introduced with r71189 which removed output of depth buffer.
The changes modified the C code but did not change the relevant OpenCL code called in rt.cl.
The size of the arguments list between the C and OpenCL side does not match and this results in a crash.
If for whatever reason some other command other than rt requires the depth data, then please apply the patch by Rishabh Suthar instead of the patch I supplied above.
I commited the patch I submitted above.