On Sun, 9 Apr 2006 22:54:10 +0200
Ewald Snel <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> Here are two patches for the R300 DRI driver. One adds conventional fog 
> support to the R300 driver, the other fixes a problem with rectangular fp16 
> textures.
> 
> The fog patch is not based on actual register values of the fglrx driver, but 
> rather by trial and error writing to the registers related to fog. The fglrx 
> driver initializes these registers to uninteresting defaults, probably 
> because the vertex and fragment program calculate fog intensity.

Commited.
I found couple problems with fog patch:
-fog didnt get disabled when doing buffer clears
-when enabling fog, fog state needs to be updated since r300Fogfv returns
-gb_select was already part of gb_misc

Some mesa demos still fail for some reason.
I think its somehow related to use of glOrtho as gluPerspective & gluLookAt 
combo seems to work.

Thanks!

-- 
Aapo Tahkola


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to