On Wed, 2003-09-03 at 20:45, Eric Anholt wrote:
> On Tue, 2003-09-02 at 09:06, Keith Whitwell wrote:
> > Eric Anholt wrote:
> > > On Sun, 2003-08-31 at 03:47, Michael Schreckenbauer wrote:
> > > 
> > >>Am Samstag, 30. August 2003 00:02 schrieb Eric Anholt:
> > >>
> > >>>My current diff is at:
> > >>>http://people.freebsd.org/~anholt/dri/files/sis-14.diff
> > >>>
> > >>>It's against DRI CVS.  Should work fine on Linux/FreeBSD, with or
> > >>>without sisfb.  I haven't tested the linux-without-sisfb case, though.
> > >>>
> > >>>My progress so far:
> > >>>      * glxgears, geartrain, tunnel, ipers, fire, multiarb, ray,
> > >>>        morph3d, isosurf, spectex, gloss, bounce, teapot, reflect all
> > >>>        work.  tuxracer works on FreeBSD.
> > >>>      * DRM and DDX changes are in DRI CVS HEAD.
> > >>>
> > >>>To do:
> > >>>      * Tuxracer crashes in sisDDDeleteTexture on linux. I have no idea
> > >>>        why (it's crashing freeing memory which I swear is allocated).
> > >>>      * Not sure if the fogging in fire is correct -- it looks like I
> > >>>        would expect it to, but it disagrees with software rendering.
> > 
> > This is standard -- the software render is doing perpixel fog, the hw render 
> > doing per-vertex.  There's a call (look in swrast/swrast.h) to make the sw 
> > renderer agree with the hw one.
> 
> You mean _swrast_allow_vertex_fog and _swrast_allow_pixel_fog?  No
> permutation of those changed anything as far as I could see.  If I
> change the setting of the hardware back to FOG_CHEAP (like the old
> driver) instead of FOG_EXP (which looks good), then I get the uniform
> fogging on the ground like the software rasterizer.

Scratch that.  LIBGL_ALWAYS_INDIRECT=1 is different from
SIS_FORCE_FALLBACK=1.  Now swrast and hardware fog settings are working
and I've got glHint for fog done.  Defaults to cheap fogging.  Thanks
everyone for helping me out on this.

-- 
Eric Anholt                                [EMAIL PROTECTED]          
http://people.freebsd.org/~anholt/         [EMAIL PROTECTED]




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to