[Mesa-dev] [PATCH 4/4] i965/es3.1: Implement glMemoryBarrierByRegion

Matt Turner mattst88 at gmail.com
Mon Aug 3 08:19:44 PDT 2015

On Mon, Aug 3, 2015 at 1:04 AM, Lofstedt, Marta
<marta.lofstedt at intel.com> wrote:
> However, I don't agree that the driver interface should be removed.
> In my opinion, it is a driver specific decision if glMemoryBarrierByRegion should be
> implemented directly on top of glMemoryBarrier or if you want to do some
> optimizations.

It's as simple as "don't add it if you don't need it".

If another driver needs the driver interface to implement
glMemoryBarrierByRegion, then it should be added. As it stands now, I
don't see that i965 needs it.

> Why else would there be a specific glMemoryBarrierByRegion
> function added to the standard?

Non-sequitur. There are plenty of functions in the GL API that don't
have entries in the dd function table.

More information about the mesa-dev mailing list