cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

stefan_w
Journeyman III

Supported image formats?

Which image formats are supported in the v2.1 SDK? I tried to create a single channel 8 Bit image (CL_R/CL_UNSIGNED_INT8) on my 5870, which results in a CL_IMAGE_FORMAT_NOT_SUPPORTED error in clCreateImage2D. (FYI: this works fine on NVIDIA cards).

 

 

0 Likes
3 Replies
nou
Exemplar

see clGetSupportedImageFormats() but CL_RGBA is minimum.

0 Likes

Thanks for the hint on clGetSupportedImageFormats, I only considered clGetDeviceInfo.

Will single channel formats be supported in future releases, or is this a hardware restriction?

0 Likes

IMHO yes it is only SW restriction as with DirectX or OpenGL you can render into single channel texture.

i think they do not have finish support for other formats.

0 Likes