[Mesa-dev] [PATCH] nir/glsl_to_nir: use _mesa_fls() to compute num_textures
Juan A. Suarez Romero
jasuarez at igalia.com
Fri Nov 13 04:30:34 PST 2015
On Fri, 2015-11-06 at 12:21 -0800, Matt Turner wrote:
> On Fri, Nov 6, 2015 at 8:27 AM, Juan A. Suarez Romero
> Looks good to me, and we use _mesa_fls elsewhere to do this same
> calculation.
>
> Reviewed-by: Matt Turner <mattst88 at gmail.com>
>
> Jason, was there some reason we weren't doing this? I'm confused why
> we would have had a one-line comment and a 4-line loop when the all
> we
> needed to do was call one functon?
Anything new on this? Can we commit it?
J.A.
More information about the mesa-dev
mailing list