https://bugs.freedesktop.org/show_bug.cgi?id=101572

Nicolai Hähnle <nhaeh...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTOURBUG

--- Comment #1 from Nicolai Hähnle <nhaeh...@gmail.com> ---
You're misinterpreting the spec.

glMemoryBarrier ensures that **writes from shaders** are visible to whatever
consumer you indicate with the given flag bits.

What you seem to be trying to do is ensure that **writes via the framebuffer**
are visible in subsequent compute shader invocations. For that, you need to
either:

(1) Bind a different framebuffer, or (probably more appropriate to what you're
trying to do)
(2) use glTextureBarrier.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to