diff options
Diffstat (limited to 'src/mesa/tnl/t_vb_arbprogram.h')
-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 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) |