[Mesa-dev] VMware patches for OpenGL 3.3 support

Brian Paul brianp at vmware.com
Thu Aug 27 17:17:06 PDT 2015

On 08/27/2015 05:56 PM, Ilia Mirkin wrote:
> The ffsll patch seems dodgy... among other things the same logic is in
> imports.c and thus would probably best refactored to src/util,

I can do that in a follow-on someday.  There was very little in 
src/util/ back when I added that code to u_math.h   src/util/ has come a 
long way since then.

> but
> additionally it's only defined if !_GNU_SOURCE -- is that OK? Would
> e.g. a 32-bit build have ffsll?

It works for me on Linux/gcc and Windows/MSVC/MinGW, both 32 and 64-bit.


> Perhaps it'd make sense to post the generic patches to the list?
> On Thu, Aug 27, 2015 at 7:47 PM, Brian Paul <brianp at vmware.com> wrote:
>> If you've seen the announcement of VMware Workstation 12 / Fusion 8, we now
>> support OpenGL 3.3 in the guest.
>> The Mesa/gallium patches for this can be seen in my git repo at
>> cgit.freedesktop.org/~brianp/mesa/log/?h=vmware-gl3
>> The first 15 patches or so are general gallium util/tgsi/etc changes.
>> They've all been reviewed in-house but Mesa developers are more than welcome
>> to review them too.
>> The remaining patches are all isolated to src/gallium/drivers/svga/. The
>> bulk of the driver changes are in a large squashed patch ("svga: update
>> driver for version 10 GPU interface").
>> If there's no feedback in the next day or two, I'll apply the series to the
>> master branch.
>> -Brian
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.freedesktop.org_mailman_listinfo_mesa-2Ddev&d=BQIBaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=T0t4QG7chq2ZwJo6wilkFznRSFy-8uDKartPGbomVj8&m=ZQAnrFyeuQZIG5hf_hQBwfsrcuLdYyIYzxQcVVDuY2g&s=QVRt1HlRYTrce-93m3tGGNbRzjkRZkk_dan_LCjtlCk&e=

More information about the mesa-dev mailing list