[Mesa-dev] [PATCH] mesa: don't wait in _mesa_ClientWaitSync if timeout is 0
Brian Paul
brianp at vmware.com
Fri Aug 31 14:50:21 PDT 2012
On 08/31/2012 02:53 PM, Eric Anholt wrote:
> Vadim Girlin<vadimgirlin at gmail.com> writes:
>
>> From ARB_sync spec:
>>
>> If the value of<timeout> is zero, then ClientWaitSync does not
>> block, but simply tests the current state of<sync>. TIMEOUT_EXPIRED
>> will be returned in this case if<sync> is not signaled, even though
>> no actual wait was performed.
>>
>> Fixes random fails of the arb_sync-timeout-zero piglit test on r600g.
>
> We had similar failures. Thanks!
>
> Reviewed-by: Eric Anholt<eric at anholt.net>
Candidate for the 9.0 (and 8.0?) branches?
-Brian
More information about the mesa-dev
mailing list