Quick question (though I still want to get my long OpenGL question fixed) is there a faster way to Xor the bits of an integer than this:
(MyInt&0x1)^((MyInt&0x2)>>1)^((MyInt&0x4)>>2)//etcetera
Just to clarify by faster I mean faster to execute, not to type as this operation will have to be done many many times.