Re: [Mesa-dev] [PATCH] mesa: don't wait in _mesa_ClientWaitSync if timeout is 0

2012-08-31 Thread Kenneth Graunke
On 08/31/2012 01:37 PM, Vadim Girlin wrote: > From ARB_sync spec: > > If the value of is zero, then ClientWaitSync does not > block, but simply tests the current state of . TIMEOUT_EXPIRED > will be returned in this case if is not signaled, even though > no actual wait was perfor

Re: [Mesa-dev] [PATCH] mesa: don't wait in _mesa_ClientWaitSync if timeout is 0

2012-08-31 Thread Vadim Girlin
On Fri, 2012-08-31 at 15:50 -0600, Brian Paul wrote: > On 08/31/2012 02:53 PM, Eric Anholt wrote: > > Vadim Girlin writes: > > > >> From ARB_sync spec: > >> > >> If the value of is zero, then ClientWaitSync does not > >> block, but simply tests the current state of. TIMEOUT_EXPIRED > >

Re: [Mesa-dev] [PATCH] mesa: don't wait in _mesa_ClientWaitSync if timeout is 0

2012-08-31 Thread Brian Paul
On 08/31/2012 02:53 PM, Eric Anholt wrote: Vadim Girlin writes: From ARB_sync spec: If the value of is zero, then ClientWaitSync does not block, but simply tests the current state of. TIMEOUT_EXPIRED will be returned in this case if is not signaled, even though no actua

Re: [Mesa-dev] [PATCH] mesa: don't wait in _mesa_ClientWaitSync if timeout is 0

2012-08-31 Thread Eric Anholt
Vadim Girlin writes: > From ARB_sync spec: > > If the value of is zero, then ClientWaitSync does not > block, but simply tests the current state of . TIMEOUT_EXPIRED > will be returned in this case if is not signaled, even though > no actual wait was performed. > > Fixes random

[Mesa-dev] [PATCH] mesa: don't wait in _mesa_ClientWaitSync if timeout is 0

2012-08-31 Thread Vadim Girlin
>From ARB_sync spec: If the value of is zero, then ClientWaitSync does not block, but simply tests the current state of . TIMEOUT_EXPIRED will be returned in this case if is not signaled, even though no actual wait was performed. Fixes random fails of the arb_sync-timeout-zero p