AnsweredAssumed Answered

CL-GL Interop: CL_INVALID_IMAGE_FORMAT_DESCRIPTOR with recent APP SDK or fglrx driver

Question asked by gagcl on Aug 8, 2013
Latest reply on Jun 19, 2014 by pinform



The example I mentioned in doesn't work anymore since APP SDK 2.8 and fglrx driver 13.2~beta3 under Debian GNU/Linux on Intel Core 2 Duo T7250 and GM45 integrated video. (The last working are APP SDK 2.7 and fglrx 13.1)


The call to

*p_cl_tex_mem = clCreateFromGLTexture(context, CL_MEM_READ_WRITE, GL_TEXTURE_RECTANGLE_ARB, 0, texture, &errNum );

fails with



According to

Using GL_TEXTURE_RECTANGLE for texture_target requires OpenGL 3.1. Alternatively, GL_TEXTURE_RECTANGLE_ARB may be specified if the OpenGL extension GL_ARB_texture_rectangle is supported.

Mesa infos:

$ glxinfo | grep OpenGL
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset
OpenGL version string: 2.1 Mesa 8.0.5
OpenGL shading language version string: 1.20
OpenGL extensions:
$ glxinfo | grep GL_ARB_texture_rectangle
    GL_ARB_texture_rectangle, GL_EXT_packed_float, GL_EXT_pixel_buffer_object,
$ glxinfo | grep 'GLX ver'
GLX version: 1.4


Does AMD already aware of this regression or I'm missing something?