mesa: Add blend barrier entry point and driver hook

Graphics / Mesa 3D Graphics Library / Mesa - Francisco Jerez [riseup.net] - 24 August 2016 15:28 UTC

Both MESA_shader_framebuffer_fetch_non_coherent and the non-coherent
variant of KHR_blend_equation_advanced will use this driver hook to request coherency between framebuffer reads and writes. This intentionally doesn't hook up glBlendBarrierMESA to the dispatch layer since the extension isn't exposed to applications yet, see [1] for more details.

[1] https://lists.freedesktop.org/archives/mesa-dev/2016-July/124028.html

303fb58 mesa: Add blend barrier entry point and driver hook.
src/mesa/main/barrier.c | 14 ++++++++++++++
src/mesa/main/barrier.h | 3 +++
src/mesa/main/dd.h | 12 ++++++++++++
3 files changed, 29 insertions(+)

Upstream: cgit.freedesktop.org


  • Share