[Mesa-dev] [PATCH] Fix build of swrast only without libdrm

Michel Dänzer michel at daenzer.net
Tue Mar 5 22:54:11 PST 2013


On Die, 2013-03-05 at 14:43 -0500, Kevin H. Hobbs wrote: 
> On 03/05/2013 01:58 PM, Matt Turner wrote:
> > On Tue, Mar 5, 2013 at 9:37 AM, Kevin H. Hobbs <hobbsk at ohio.edu> wrote:
> >> 
> >> so now configure is giving me exactly what I asked for which is good :-)
> >>
> >> Unfortunately it isn't what I want :-( and the swrast driver gives me
> >> more vtk test errors than the llvmpipe driver :-(
> > 
> > It's what you asked for but not what you wanted? Not sure I can help
> > with that. :)
> > 
> > If whatever this problem is is caused by the commit you mention, I
> > have a patch on the list now to fix it.
> > 
> > 
> 
> 
> The only software renderer in the output of './configure --help' is swrast.
> 
> I asked for a software renderer, and I got one, so I didn't notice that
> I didn't get what I was asking for.
> 
> I also didn't know the difference between software renderers
> OSMesa=Xlib=Swrast=llvmpipe...
> 
> Now, I realize that I was asking for a specific software renderer, and
> got a different one.
> 
> The patch discussed in this thread fixed that.

Actually, you asked for two different software renderers:
--with-dri-drivers=swrast produces lib/swrast_dri.so based on classic
swrast, --with-gallium-drivers=swrast produces lib/gallium/swrast_dri.so
based on llvmpipe/softpipe. 

Presumably both are built before and after the change(s) in question,
they merely changed which one ends up installed / picked up first at
runtime.


-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the mesa-dev mailing list