Khronos public bugtracker – Bug 614
Create OpenCL image objects from GL_DEPTH_COMPONENT textures.
Last modified: 2012-03-30 10:34:07 PDT
In my opinion it's a severe flaw in the OpenCL specification that it is not possible to create OpenCL image objects from OpenGL depth textures. Access to depth textures or to the depth buffer in OpenCL is critically important for applications like i.e. deferred rendering, so please add a mapping between GL_DEPTH_COMPONENT textures and an OpenCL image format to the specification.
While the current specification (1.2) makes it possible for implementations to provide such a mapping voluntarily, it's not enforced and as I regard this as a very important feature, I suggest to enforce such a mapping by explicitely mentioning it in table 9.4 of the OpenCL extensions specification.