Neil Roberts d54111795f Use ffs to calculate the GL_{UN,}PACK_ALIGNMENT
Instead of having a series of if-statements this adds an inline
function to calculate the alignment directly using ffs which is
probably slightly faster. Admittedly this is a pointless
micro-optimisation but I think it makes the code looks a bit neater
anyway.

Reviewed-by: Robert Bragg <robert@linux.intel.com>
2012-04-05 13:51:56 +01:00
..
2012-04-05 13:47:36 +01:00
2012-04-05 13:47:36 +01:00
2012-04-05 13:47:36 +01:00
2012-03-23 13:51:08 +00:00
2010-06-01 12:08:18 +01:00
2012-04-05 13:47:36 +01:00
2012-02-14 20:42:10 +00:00
2012-02-14 20:42:10 +00:00
2011-11-01 12:03:02 +00:00
2012-02-15 14:57:59 +00:00
2012-04-05 13:47:36 +01:00
2012-03-23 13:51:08 +00:00
2012-03-20 13:17:07 +00:00
2012-04-05 13:47:36 +01:00
2012-03-14 12:19:56 +00:00
2012-04-04 17:02:23 +01:00
2012-03-21 22:15:34 +08:00
2012-04-05 13:47:36 +01:00
2011-08-12 15:28:42 +01:00