diff options
author | Eric Anholt <[email protected]> | 2014-12-12 00:06:21 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-12-12 09:30:35 -0800 |
commit | e5eaf8ec600b73de7f52555ce1c9a74883dba941 (patch) | |
tree | 0e22fdd32afb78aca659bfa3af11ab3fa37cec74 /src | |
parent | e75e677d288e67c3c05e7b8744e08cd73bdcbed8 (diff) |
vc4: Fix referencing of sync objects.
While the pipe_reference_* helpers set the pointer, a bare pipe_reference
doesn't. Fixes 5 ARB_sync tests.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_fence.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_fence.c b/src/gallium/drivers/vc4/vc4_fence.c index c081d51b16f..01906cdba0c 100644 --- 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 |