projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e75e677
)
vc4: Fix referencing of sync objects.
author
Eric Anholt
<eric@anholt.net>
Fri, 12 Dec 2014 08:06:21 +0000
(
00:06
-0800)
committer
Eric Anholt
<eric@anholt.net>
Fri, 12 Dec 2014 17:30:35 +0000
(09:30 -0800)
While the pipe_reference_* helpers set the pointer, a bare pipe_reference
doesn't. Fixes 5 ARB_sync tests.
src/gallium/drivers/vc4/vc4_fence.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_fence.c
b/src/gallium/drivers/vc4/vc4_fence.c
index c081d51b16f9edf62af2e51b0481e9953e4f9a95..01906cdba0c438cd29a21d002151e6ece31507aa 100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_fence.c
+++ b/
src/gallium/drivers/vc4/vc4_fence.c
@@
-56,6
+56,7
@@
vc4_fence_reference(struct pipe_screen *pscreen,
if (pipe_reference(&(*p)->reference, &f->reference)) {
free(old);
}
+ *p = f;
}
static boolean