Khronos Public Bugzilla
Bug 614 - Create OpenCL image objects from GL_DEPTH_COMPONENT textures.
Create OpenCL image objects from GL_DEPTH_COMPONENT textures.
Status: NEW
Product: OpenCL
Classification: Unclassified
Component: Specification
unspecified
All All
: P3 enhancement
: ---
Assigned To: Aaftab Munshi
OpenCL Working Group
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-30 10:20 PDT by Daniel Kirchner
Modified: 2012-03-30 10:34 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Kirchner 2012-03-30 10:20: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.