summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/swr_fence.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/swr/swr_fence.cpp')
-rw-r--r--src/gallium/drivers/swr/swr_fence.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/drivers/swr/swr_fence.cpp b/src/gallium/drivers/swr/swr_fence.cpp
index 2e95b3936a6..8a8e864397d 100644
--- a/src/gallium/drivers/swr/swr_fence.cpp
+++ b/src/gallium/drivers/swr/swr_fence.cpp
@@ -105,12 +105,6 @@ swr_fence_reference(struct pipe_screen *screen,
swr_fence_destroy(old);
}
-static INLINE boolean
-swr_is_fence_done(struct pipe_fence_handle *fence_handle)
-{
- struct swr_fence *fence = swr_fence(fence_handle);
- return (fence->read == fence->write);
-}
/*
* Wait for the fence to finish.