From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 79431] New: OpenGL OpenCL interop results in corrupted
renderbuffer object image
Date: Thu, 29 May 2014 23:35:00 +0000
Message-ID:
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.