summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/barrier.h
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Rename _mesa_BlendBarrierMESA to _mesa_BlendBarrier.Kenneth Graunke2016-08-251-1/+1
| | | | | | | | | | | Note that _mesa_BlendBarrierMESA is not currently hooked up in the glapi XML, so we can just rename it. We'll hook it up for the KHR_blend_equation_advanced extension shortly. We may as well use the ES 3.2 core name with no suffixes. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
* mesa: Add blend barrier entry point and driver hook.Francisco Jerez2016-08-241-0/+3
| | | | | | | | | | | | | 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 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
* mesa: Move shader memory barrier functions into barrier.c.Francisco Jerez2016-08-241-0/+6
| | | | Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
* mesa: Rename "texturebarrier" source files to "barrier".Francisco Jerez2016-08-241-0/+44
In preparation for collecting all pipeline barrier GL entry points into a single source file. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>