Re: [Mesa-dev] [PATCH] mesa/macros: move ALIGN_NPOT to macros.h

2015-06-26 Thread Anuj Phogat
On Fri, Jun 26, 2015 at 11:39 AM, Nanley Chery wrote: > From: Nanley Chery > > Aligning with a non-power-of-two number is a general task that can be used in > various places. This commit is required for the next one. > > v2: add greater than 0 assertion (Anuj). > convert the macro to a static

[Mesa-dev] [PATCH] mesa/macros: move ALIGN_NPOT to macros.h

2015-06-26 Thread Nanley Chery
From: Nanley Chery Aligning with a non-power-of-two number is a general task that can be used in various places. This commit is required for the next one. v2: add greater than 0 assertion (Anuj). convert the macro to a static inline function. Signed-off-by: Nanley Chery --- src/mesa/drive