[Mesa-dev] [PATCH] nir/glsl_to_nir: use _mesa_fls() to compute num_textures

Jason Ekstrand jason at jlekstrand.net
Fri Nov 13 09:56:46 PST 2015


On Fri, Nov 13, 2015 at 7:44 AM, Juan A. Suarez Romero
<jasuarez at igalia.com> wrote:
> On Fri, 2015-11-13 at 07:37 -0800, Jason Ekstrand wrote:
>> I didn't want to pull a non-inline mesa function into NIR and add a
>> link dependency and I was too lazy to move it into util.
>
>
> But at this moment _mesa_fls() is an inline function. So I guess it is
> safe to push it, isn't it?

Sure, go ahead.  I'd like to see it moved to util eventually, but it
doesn't hurt anything and it fixes a bug.
--Jason


More information about the mesa-dev mailing list