OpenGL OpenCL interop results in corrupted renderbuffer object image
Submitted by pav..@..ky.com
Assigned to Default DRI bug account
Description
I use APP SDK with OpenCL running on CPU and r600 driver on GPU (AMD Mobility 3650) to compute image. If I use OpenCL image, I get correct result, however if I want to display image using OpenGL (interop), it is corrupted.
I create renderbuffer object, than link it with OpenCL (clCreateFromGLRenderbuffer) and then after image was computed I blit it to back buffer.
I tested it in lab on nVidia proprietary driver and it works well, I suspect the problem is in renderbuffer sharing.
OpenCL is 1.2, OpenGL 3.3.
Version: git