G'Day,

I've just committed the start of multitexturing support to CVS.

The code works for me, but I've left the old code intact, and can be
re-enabled by changing a couple of ifdefs in r300_state.c.

Here's what remains to be done:
1. Implement the remaining texenv functions, I believe I left out
GL_BLEND/GL_DECAL and GL_COMBINE. The ones I did implement
were the simple ones, it's almost 5am so I decided not to tackle
the rest just yet.
2. Possibly fix the current texenv's. I'm not entirely sure if they're done
correctly, I need to study the gl spec a bit more.
3. Currently, only 5 texture units can be enabled, MAX_AOS_ARRAYS needs
to be increased for this.
4. Find a better way of describing instructions than EASY_PFS_INSTRx
5. Clean up some bits of the code


There's an issue where the first frame isn't drawn correctly, I noticed this behavior
with the old code also. You can see this by running the Mesa texenv demo, the first
box appears to have recieved the wrong texcoords.


A possibly related issue can be seen when you enable units 0,1 and 3 in the multiarb
demo, the third texture is a little messed up.


Anyhow, I should go sleep now.  Have fun!

Cheers,
Ben Skeggs.


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to