On 08/31/2012 01:37 PM, Vadim Girlin wrote:
> 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.
> 
> Signed-off-by: Vadim Girlin <vadimgir...@gmail.com>
> ---
>  src/mesa/main/syncobj.c | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)

Hooray!  I kept meaning to look into this, but never got to it.  Thanks
for fixing it.

Reviewed-by: Kenneth Graunke <kenn...@whitecape.org>

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to