PDA

View Full Version : Wishlist



Yours3lf
01-02-2012, 01: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,
Yours3lf

Yours3lf
01-03-2012, 12:25 PM
oh, and the same goes for special formats like
GL_RGB9_E5 and
GL_R11F_G11F_B10F

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

Yours3lf
01-05-2012, 12:53 PM
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.

Yours3lf
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 :)