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.
This commit is contained in:
Eric Anholt 2014-12-12 00:06:21 -08:00
parent e75e677d28
commit e5eaf8ec60
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ vc4_fence_reference(struct pipe_screen *pscreen,
if (pipe_reference(&(*p)->reference, &f->reference)) {
free(old);
}
*p = f;
}
static boolean