Talk:Swizzling (computer graphics)

Not only in graphics
The term swizzle is not exclusive to graphics. ¤ ehudshapira 16:42, 3 September 2007 (UTC)

But what is this *for*?
Someone please add a section explaining why swizzling is needed, and what it does practically, rather than just mathematically. Under what circumstances would a programmer use it? 81.158.2.229 (talk) 15:27, 5 May 2008 (UTC)
 * I agree that the article poorly explains the common use of swizzling, so I've added an examples needed tag. There are two reasons for the poor explanation:


 * In GPGPU programming, "swizzling" also includes selecting some components in isolation, without rearrangement. For example, I can extract the RGB components of a 4-D vector representing an RGBA colour by using "vec3 rgbColour = colour.rgb". This is indeed very common.
 * The use of swizzling via rearrangement is rather useless on its own. However, it can facilitate optimisations. For examples, see this page.
 * Hopefully someone gets around to clarifying all this in the article. C xong (talk) 01:13, 4 March 2010 (UTC)

permutation?
That's not a permutation matrix. Permutations are bijective.--92.77.211.90 (talk) 13:27, 5 May 2014 (UTC)