Re: [Mesa-dev] [PATCH 1/4] gallium/util: Add align_calloc

2016-10-22 Thread Axel Davy
On 22/10/2016 16:42, Brian Paul wrote: On Sat, Oct 22, 2016 at 4:28 AM, Axel Davy > wrote: Add implementation for align_calloc, which is align_malloc + memset. Signed-off-by: Axel Davy mailto:axel.d...@ens.fr>> --- src/gallium/auxiliary/util/u_memor

Re: [Mesa-dev] [PATCH 1/4] gallium/util: Add align_calloc

2016-10-22 Thread Brian Paul
On Sat, Oct 22, 2016 at 4:28 AM, Axel Davy wrote: > Add implementation for align_calloc, > which is align_malloc + memset. > > Signed-off-by: Axel Davy > --- > src/gallium/auxiliary/util/u_memory.h | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/src/gallium/auxiliary/util/u_memo

[Mesa-dev] [PATCH 1/4] gallium/util: Add align_calloc

2016-10-22 Thread Axel Davy
Add implementation for align_calloc, which is align_malloc + memset. Signed-off-by: Axel Davy --- src/gallium/auxiliary/util/u_memory.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/src/gallium/auxiliary/util/u_memory.h b/src/gallium/auxiliary/util/u_memory.h index 597df62..c72d19f