aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStéphane Marchesin <marcheu@chromium.org>2012-01-18 19:23:48 -0800
committerIan Romanick <ian.d.romanick@intel.com>2012-07-06 10:08:56 -0700
commitdb555c5d59173f01aa75b7a91630f2eced834a1f (patch)
tree131f7c10e69b5ec4e8ff5c279be6953e2842009d /src
parentf1423b1c209ab3bee60bfdda6f8a1d88f8da34d2 (diff)
i915g: Don't invert signalled/unsignalled fences
NOTE: This is a candidate for the 8.0 branch. (cherry picked from commit 2b4afdba05abe3408f6347be82465b6420f50aab)
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/i915/i915_screen.c4
1 files changed, 2 insertions, 2 deletions
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;
}