Problem with VAR implementation

I’ve got a problem with the Mac implementation of our VAR code.

I’m hoping some of you can take a look and see if you’ve seen the behavior before (there’s a small movie linked).

The problem occurs using the Apple VAR extensions on the Mac, but works fine using the NVidia VAR extensions on the PC.

It also works fine on ATI, but I’m not positive that that is a valid test case because the ATI VAR code is currently getting pushed to immediate mode for some reason I’ve yet to figure out.

I don’t think it’s a bug because we’re not doing anything special. We’re drawing to a backbuffer and then copying that to a texture. If this were a bug, there’d be people complaining about it all over the place, so I think it’s more likely it’s something we’re doing wrong.

Anyhow, please see:

and let me know if you have any thoughts on what it might be.