On 2002.03.04 18:51 Leif Delgass wrote: > On Mon, 4 Mar 2002, José Fonseca wrote: > > > .... > > > > Although I had no idea of the consequences, I changed this value to 9 > (the > > minimum seen in other drivers) which made some of the textures appear, > > though they had several problems (they were tiled, bad colors, wrong > > interpolation of texture coords), some of them most likely unrelated to > > this. > > I think it's probably ok to bump up the max levels, we can just be > selective about which level(s) we actually upload (mach64UploadTexImages > only uploads level 0 right now). >
But why does the number of levels has to do with the maximum texture size? > A couple of things to check: the memcpy in mach64UploadSubImage. I'm > not > sure that this is done correctly. As far as texcoords go, we're going to > have to deal with the perspective divide issue here. Right now the > MACH64_TEX_ST_DIRECT field of tex_cntl is set in InitState, which means > we > should be passing premultiplied texture coords. We can turn this flag > off, but then multitexturing probably won't work. > Ok, but before messing the template for doing that I think that we should really check if multitexturing works or not without it. > > Jose Fonseca > > -- > Leif Delgass > http://www.retinalburn.net > José Fonseca _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel