Re: [Mesa-dev] [PATCH] gallium/util: fix p_atomic_dec_zero macros

2014-06-16 Thread Maarten Lankhorst
op 13-06-14 07:39, Michel Dänzer schreef: On 12.06.2014 17:00, Maarten Lankhorst wrote: I'm pretty sure that p_atomic_dec_zero should return 1 if the count drops to zero. Cc: "10.2 10.1 10.0" I don't think the stable tag is justified: These bugs have been there for more than four years. Nothi

Re: [Mesa-dev] [PATCH] gallium/util: fix p_atomic_dec_zero macros

2014-06-12 Thread Michel Dänzer
On 12.06.2014 17:00, Maarten Lankhorst wrote: > I'm pretty sure that p_atomic_dec_zero should return 1 if the count > drops to zero. > > Cc: "10.2 10.1 10.0" I don't think the stable tag is justified: These bugs have been there for more than four years. Nothing in Gallium can work properly if th

[Mesa-dev] [PATCH] gallium/util: fix p_atomic_dec_zero macros

2014-06-12 Thread Maarten Lankhorst
I'm pretty sure that p_atomic_dec_zero should return 1 if the count drops to zero. Cc: "10.2 10.1 10.0" Signed-off-by: Maarten Lankhorst --- diff --git a/src/gallium/auxiliary/util/u_atomic.h b/src/gallium/auxiliary/util/u_atomic.h index 2f2b42b..08cadb4 100644 --- a/src/gallium/auxiliary/uti