On Fri, Sep 24, 2004 at 08:50:57AM +0300, Ville Syrj�l� wrote: > The attached patch is an attempt at 8bpp texture support for the matrox > driver. > > For some reason I was unable to load the texture LUT via ILOAD so I had to > do it with a BITBLT. So 512 bytes of video memory is reserved for that > purpose. > > Unfortunately there is something wrong with the whole thing. The > resulting image is missing every other vertical line. I'm not sure if that > is due to a bug in the code or if it's supposed to look like that (I would > think not). So can someone spot a bug in the code?
I did some more testing and the good news is that the code works on G200. On G400 I got the "striped" picture effect and on G550 I got a completely black picture. Didn't even bother testing on G450. The G400 specs say that the texture must be expanded prior to usage. Apparently that means converting it into a RGB565 texture and using that as the real texture. The specs list some register values needed for the expansion but even that seems to be misdocumented. I tried to use the register values specified in the specs and "expanding" the texture directly to the screen but it didn't change anything. So either it's just broken or it needs some additional magic :( So it looks like this will be a G100/G200 feature only. I don't have G100 so I can't verify if it actually works. -- Ville Syrj�l� [EMAIL PROTECTED] http://www.sci.fi/~syrjala/
