From: Stéphane Marchesin Date: Thu, 19 Jan 2012 03:23:48 +0000 (-0800) Subject: i915g: Don't invert signalled/unsignalled fences X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b4afdba05abe3408f6347be82465b6420f50aab;p=mesa.git i915g: Don't invert signalled/unsignalled fences NOTE: This is a candidate for the 8.0 branch. --- diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index 5444425d5ea..6fc854f20f1 100644 --- a/src/gallium/drivers/i915/i915_screen.c +++ b/src/gallium/drivers/i915/i915_screen.c @@ -368,7 +368,7 @@ i915_fence_signalled(struct pipe_screen *screen, { struct i915_screen *is = i915_screen(screen); - return is->iws->fence_signalled(is->iws, fence) == 0; + return is->iws->fence_signalled(is->iws, fence) == 1; } static boolean @@ -378,7 +378,7 @@ i915_fence_finish(struct pipe_screen *screen, { struct i915_screen *is = i915_screen(screen); - return is->iws->fence_finish(is->iws, fence) == 0; + return is->iws->fence_finish(is->iws, fence) == 1; }