On Tuesday, March 20, 2018 11:10:11 AM PDT Lionel Landwerlin wrote:
> On 20/03/18 00:08, Kenneth Graunke wrote:
> > On Wednesday, March 14, 2018 10:19:11 AM PDT Lionel Landwerlin wrote:
> >> +   devinfo->num_slices = __builtin_popcount(devinfo->slice_masks);
> > _mesa_bitcount() here and elsewhere.
> 
> Only issue with this is that it pulls in the headers from what I 
> consider to be the GL headers : src/mesa/main/imports.h

Hrm...yeah.  It's probably fine to use __builtin_popcount - it looks
like anv already does, and likely the only reason not to is for MSVC
or other compilers we don't build against.

--Ken

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to