On Mon, 24 Feb 2003 21:13:09 -0700 Keith Whitwell <[EMAIL PROTECTED]> wrote: > >> > >> What became of this? It seems to fix the flag in bzflag having the wrong > >> texture with the r200 driver with SW TCL as well. > > > > > > I think I figured out the underlying problem. > > > > In core mesa, all statechanges are preceded by a call to > > ctx->Driver.FlushVertices(), to ensure all buffered vertices are fired > > before the state is changed. This is currently set to > > _tnl_FlushVertices(), which doesn't do anything to notify the driver > > about this impending statechange. > > > > We should probably wrap _tnl_FlushVertices() and install that instead in > > ctx->Driver.FlushVertices(). > > > > I'll code something up & post a patch. > > > > Keith > > Can you test this change? > > Keith
I've tested it. Radeon 7000. I get texture flashing in Quake3 with map q3dm1 in particular, when in the room with the plasma gun. It's pretty spectacular -- floor goes purple and yellow. Not quite sure what to make of it. Screenshot: (1280x1024, sorry, my flat panel made me do it! I swear!) http://bronaugh.linuxboxen.org/q3_glitch.jpg I got this with trunk too, without this patch. Hopefully I'm not hitting a hardware flaw or such in my card (ie, bad ram)... It seems to change a lot with motion (whether it's glitched or not) and also seemingly with time (perhaps lighting?). Can someone else confirm this behaviour? David Bronaugh
pgp00000.pgp
Description: PGP signature