https://bugs.freedesktop.org/show_bug.cgi?id=79431
Priority: medium Bug ID: 79431 Assignee: dri-devel@lists.freedesktop.org Summary: OpenGL OpenCL interop results in corrupted renderbuffer object image Severity: normal Classification: Unclassified OS: All Reporter: pavol@klacansky.com Hardware: Other Status: NEW Version: git Component: Drivers/Gallium/r600 Product: Mesa
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.