I've been going through the R100 driver in the texmem branch.  I'm trying to
make it more like the R200 driver.  This should make it easier for me to
make the texmem changes to the R200 driver and back-port features (npot
textures & YCBCR textures) to the R100 driver.

I've come across two differences in UpdateTextureEnv for which I could use
some clarification.

1. The two drivers handle GL_PREVIOUS in GL_COMBINE mode quite differently.
The R200 driver does pretty much what I would expect.  If we setting-up
texture unit 0, use the primary color as the input.  Otherwise, texture unit
n-1 is used.  The R100 driver does some funky thing with the
RADEON_COLOR_ARG_A_CURRENT_* values.  Is that even correct?

2. The R200 driver does some special casing when _ReallyEnabled == 0.  Why
is that needed, and should it be copied in the R100 driver?

That's all for now, but I'm sure I'll have more questions later...

-- 
Smile!  http://antwrp.gsfc.nasa.gov/apod/ap990315.html


-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to