[Mesa-dev] [PATCH] mesa: don't wait in _mesa_ClientWaitSync if timeout is 0
Eric Anholt
eric at anholt.net
Fri Aug 31 13:53:28 PDT 2012
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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120831/671f4f0e/attachment.pgp>
More information about the mesa-dev
mailing list