diff options
author | Brian Paul <[email protected]> | 2005-10-29 18:18:46 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-10-29 18:18:46 +0000 |
commit | 5b3cf5af74fe459ea6ebda4dec803b26b40c5b1f (patch) | |
tree | 83c5d772a34090f3f769d44d2813a36248213e96 | |
parent | 1a979736a6524a2987fcd6a8b1eda10016db96df (diff) |
reduced swizzle comment
-rw-r--r-- | src/mesa/tnl/t_vb_arbprogram.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_vb_arbprogram.h b/src/mesa/tnl/t_vb_arbprogram.h index 92ae46113f1..27f878c4e98 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) |