diff options
author | Brian Paul <[email protected]> | 2010-03-24 19:28:41 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-03-24 19:30:32 -0600 |
commit | d7ddb589f49bfd3683650846d9b95835d0abd7ba (patch) | |
tree | 5683eb13d879af92753264cfdaeda266f4936112 | |
parent | 331729c8c877fd8ddde0a83cbe0fcdd5df4b1f1f (diff) |
llvmpipe: call lp_fence_signal()
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_rast.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c b/src/gallium/drivers/llvmpipe/lp_rast.c index 3a51800c40d..cd9919ca909 100644 --- a/src/gallium/drivers/llvmpipe/lp_rast.c +++ b/src/gallium/drivers/llvmpipe/lp_rast.c @@ -491,18 +491,7 @@ lp_rast_fence(struct lp_rasterizer_task *task, const union lp_rast_cmd_arg arg) { struct lp_fence *fence = arg.fence; - - pipe_mutex_lock( fence->mutex ); - - fence->count++; - assert(fence->count <= fence->rank); - - LP_DBG(DEBUG_RAST, "%s count=%u rank=%u\n", __FUNCTION__, - fence->count, fence->rank); - - pipe_condvar_signal( fence->signalled ); - - pipe_mutex_unlock( fence->mutex ); + lp_fence_signal(fence); } |