thesmileman

Not to spec for OpenCL - OpenGL Interop

Discussion created by thesmileman on Nov 9, 2011
Latest reply on Aug 4, 2014 by pinform

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?

Outcomes