Curiously Small Code
Posted on Jan 23, 2008, 1:00 pm
Here’s an email thread Mike Day and I had on the tech (engine) mailing list a while back trying to find a really quick way to do a texture swizzle on the SPU. There’s a few techniques in there that might interest the SPU coders out there. It all started with this innocent little comment by Mike Day: “I tried swizzling my test texture and mipmaps and was surprised how little code was needed to do it”, and went sideways from there.