From 5b3cf5af74fe459ea6ebda4dec803b26b40c5b1f Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 29 Oct 2005 18:18:46 +0000 Subject: reduced swizzle comment --- src/mesa/tnl/t_vb_arbprogram.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/mesa/tnl/t_vb_arbprogram.h b/src/mesa/tnl/t_vb_arbprogram.h index 92ae46113f..27f878c4e9 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) -- cgit v1.2.3