View Full Version : Wishlist

01-02-2012, 12:29 PM
ability to use clCreateFromGLTexture with OpenGL textures with internal format GL_RGB* and GL_DEPTH_COMPONENT*, that is the hardware depth buffer format.

ability to read AND write the same image2d_t object in kernel.

Best regards,

01-03-2012, 11:25 AM
oh, and the same goes for special formats like
GL_RGB9_E5 and

01-05-2012, 11:17 AM
It also would be nice to have ability to pass array of images to kernel as parameter.

01-05-2012, 11:53 AM
yep and also floating point math functions like mix and reflect.
according to the OGL specs mix is this function:
x * ( 1 - a ) + y * a
where x is the start of the interpolation y is the end and a is the weight. Is that so hard to implement? I mean the vendors have already done it in GLSL...

I stumbled upon another problem: when you do a syntax problem, the compiler doesn't throw a proper
"syntax error on line x on column y" but something like this:
and the invalid kernel name error (probably due to the kernel not being compiled)
this was with the latest stable APP SDK and drivers.

04-24-2012, 01:39 PM
recently I bumped into an issue where I badly needed the D24S8 format to be readable in OpenCL. Though using other formats solved the problem, still it'd be great to have that in OCL 1.3 :)