From: Brian Paul Date: Sat, 29 Oct 2005 18:18:46 +0000 (+0000) Subject: reduced swizzle comment X-Git-Tag: 062012170305~21786 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5b3cf5af74fe459ea6ebda4dec803b26b40c5b1f;p=profile%2Fivi%2Fmesa.git reduced swizzle comment --- diff --git a/src/mesa/tnl/t_vb_arbprogram.h b/src/mesa/tnl/t_vb_arbprogram.h index 92ae461..27f878c 100644 --- a/src/mesa/tnl/t_vb_arbprogram.h +++ b/src/mesa/tnl/t_vb_arbprogram.h @@ -112,6 +112,10 @@ union instruction { GLuint dword; }; + +/** + * Reduced swizzle is a 2-bit field; only X/Y/Z/W are allowed, not 0/1. + */ #define RSW_NOOP ((0<<0) | (1<<2) | (2<<4) | (3<<6)) #define GET_RSW(swz, idx) (((swz) >> ((idx)*2)) & 0x3)