The attached patch provides s3tc (and broken fxt) texture compression support on the i8xx (x>30) chipsets,
You need to apply the radeon/r200 patch from Roland first, Roland do you want to merge this patch into yours?
Yes, I've merged it. New version can be found here (so I don't have to spam the list with code): http://homepage.hispeed.ch/rscheidegger/dri_experimental/libtxc_dxtn040524.tar.gz http://homepage.hispeed.ch/rscheidegger/dri_experimental/mesa_r200_radeon_i830_txc_cvs040524.diff.gz (nothing new except the i830 merge). (sorry no directory listing, seems to be not allowed for homepages, and the stupid server doesn't honor .htaccess neither)
I have one question though, how is RGB_DXT1 and RGBA_DXT1 going to work? As far as I can see, there's no difference at all between these two formats as far as the driver is concerned, which can't be correct (pixels which need to get decompressed as black, fully opaque for RGB_DXT1 need to be black, fully transparent for RGBA_DXT1). I'm not sure how this is supposed to work, maybe with changing texture environments? I guess RGBA_DXT1 isn't used a lot though (the compression library also does not a good job for that weird format).
So far I've tested this with texcmp - thats how I know FXT doesn't work, do we have support for FXT in Mesa?No, and since texcmp only uses on-line compressed textures, it sure will fail. I did not add FXT support in the s3tc patch since I lack the
hardware, and also since there are 0 applications (afaik) which use precompressed fxt1 textures (remember the patch started to make it possible to use precompressed textures, the software compression/decompression stuff was just added to make the extension support OGL-compliant). It _might_ be interesting to add fxt1 compression for on-line compression, since it might be better from a legal point of view, though it's hard to imagine that one extension (s3tc) would infringe on a patent while the other (fxt) wouldn't, given how terribly similar they are (at least the fxt1 cc_mixed mode)...
I believe though Daniel Borca is working on it (by using code from the Glide3/Texus2 library).
do I have any chance of getting ut2004 demo going on an i865 chipset? at the moment I'm missing some floors and things..
Can't help you there ;-).
Roland
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel
