projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9063ca
)
llvmpipe: fix up some questionable fence code
author
Brian Paul
<brianp@vmware.com>
Thu, 25 Mar 2010 02:40:31 +0000
(20:40 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 25 Mar 2010 02:49:54 +0000
(20:49 -0600)
Jose should probably review this since he wrote the original code.
src/gallium/drivers/llvmpipe/lp_flush.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_flush.c
b/src/gallium/drivers/llvmpipe/lp_flush.c
index 636d72a9bb8f0f7a80cb0a46e0cee9013c9f69c4..782669a1e773d7e9f45e81f5d9c363d1e9410cd4 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_flush.c
+++ b/
src/gallium/drivers/llvmpipe/lp_flush.c
@@
-111,7
+111,6
@@
llvmpipe_flush_texture(struct pipe_context *pipe,
boolean cpu_access,
boolean do_not_flush)
{
- struct pipe_fence_handle *last_fence = NULL;
unsigned referenced;
referenced = pipe->is_texture_referenced(pipe, texture, face, level);
@@
-142,7
+141,7
@@
llvmpipe_flush_texture(struct pipe_context *pipe,
pipe->flush(pipe, flush_flags, &fence);
- if (
last_
fence) {
+ if (fence) {
pipe->screen->fence_finish(pipe->screen, fence, 0);
pipe->screen->fence_reference(pipe->screen, &fence, NULL);
}