[Mesa-dev] [PATCH] mesa: don't wait in _mesa_ClientWaitSync if timeout is 0
Vadim Girlin
vadimgirlin at gmail.com
Fri Aug 31 15:45:02 PDT 2012
On Fri, 2012-08-31 at 15:50 -0600, Brian Paul wrote:
> 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?
Probably yes, but I forget to mention it in the commit message.
On the other hand, I think it doesn't fix anything besides that test.
Vadim
>
> -Brian
>
More information about the mesa-dev
mailing list