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

Emil Velikov emil.l.velikov at gmail.com
Fri Feb 6 17:26:47 PST 2015


On 7 February 2015 at 00:10, Matt Turner <mattst88 at gmail.com> wrote:
> 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
> it.
>
Seems like I offended you (and others involved). Please accept my
apology on the matter, I meant the above with no disrespect.

-Emil


More information about the mesa-dev mailing list