projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50b4508
)
st/vega: Do not wait NULL fences.
author
Chia-I Wu
<olv@lunarg.com>
Wed, 17 Nov 2010 15:35:02 +0000
(23:35 +0800)
committer
Chia-I Wu
<olv@lunarg.com>
Thu, 18 Nov 2010 03:56:00 +0000
(11:56 +0800)
src/gallium/state_trackers/vega/api_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/vega/api_context.c
b/src/gallium/state_trackers/vega/api_context.c
index 0d04d8e8718696ed3e23b29a6e70eab829222604..d6bbda5e07520e8343383707e9754735cc6999ca 100644
(file)
--- a/
src/gallium/state_trackers/vega/api_context.c
+++ b/
src/gallium/state_trackers/vega/api_context.c
@@
-73,7
+73,8
@@
void vegaFinish(void)
pipe = ctx->pipe;
pipe->flush(pipe, PIPE_FLUSH_RENDER_CACHE | PIPE_FLUSH_FRAME, &fence);
-
- pipe->screen->fence_finish(pipe->screen, fence, 0);
- pipe->screen->fence_reference(pipe->screen, &fence, NULL);
+ if (fence) {
+ pipe->screen->fence_finish(pipe->screen, fence, 0);
+ pipe->screen->fence_reference(pipe->screen, &fence, NULL);
+ }
}