cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

thesmileman
Journeyman III

Not to spec for OpenCL - OpenGL Interop

According to the 1.1 spec section 9.8.3.1 interop should support the following opengl internal formats:

GL_RGBA8 CL_RGBA, 
GL_RGBA,
GL_UNSIGNED_INT_8_8_8_8_REV
GL_BGRA,
GL_UNSIGNED_INT_8_8_8_8_REV
GL_RGBA16 
GL_RGBA8I, GL_RGBA8I_EXT 
GL_RGBA16I, GL_RGBA16I_EXT 
GL_RGBA32I, GL_RGBA32I_EXT
GL_RGBA8UI, GL_RGBA8UI_EXT
GL_RGBA16UI, GL_RGBA16UI_EXT
GL_RGBA32UI, GL_RGBA32UI_EXT 



In my testing it only supports the following:

GL_RGBA8
GL_RGBA
GL_RGBA16
GL_RGBA16F
GL_RGBA32F

 

Any other formats return the correct return code for non-support (CL_INVALID_IMAGE_FORMAT_DESCRIPTOR) however the spec doesn't allow for a lack of support for the above types. 

Is there somewhere to submit an official bug/non to spec issue with AMD?

0 Likes
11 Replies