[Mesa-dev] Rename mesa/src/util (Was: gallium/util: add u_bit_scan64)

Matt Turner mattst88 at gmail.com
Fri Feb 6 16:10:36 PST 2015

On Fri, Feb 6, 2015 at 3:58 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
>> "util" is meant to be for shared utility across the entire code base -
>> both Mesa and Gallium.  It's been growing slowly as people move things
>> there.  It might make sense to move a lot of src/gallium/auxiliary/util
>> there, in fact - there's always been a lot of duplication between Mesa
>> and Gallium's utility code.  But that's up to the Gallium developers.
> Imho currently the util library is growing on the basis of "we can
> share X let's throw it in there" rather than putting much thought
> about the structure/"design" of it - unlike in gallium.

Are you serious? Let's be honest with ourselves. I probably would have
been a better plan to not put commonly useful code deep in Gallium in
the first place.

Apparently this is what I get for trying to do the right thing an pull
the atomics code out into a place the rest of the Mesa project can use

How about instead of an annoying bikeshed thread we just finish moving
bits of Gallium's util directory to src/util and be done with it?

More information about the mesa-dev mailing list