Khronos Public Bugzilla
Bug 614 - Create OpenCL image objects from GL_DEPTH_COMPONENT textures.
Summary: Create OpenCL image objects from GL_DEPTH_COMPONENT textures.
Status: NEW
Alias: None
Product: OpenCL
Classification: Unclassified
Component: Specification (show other bugs)
Version: unspecified
Hardware: All All
: P3 enhancement
Target Milestone: ---
Assignee: Aaftab Munshi
QA Contact: OpenCL Working Group
Depends on:
Reported: 2012-03-30 10:20 PDT by Daniel Kirchner
Modified: 2012-03-30 10:34 PDT (History)
1 user (show)

See Also:


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.