diff options
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_fence.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_fence.c b/src/gallium/drivers/radeonsi/si_fence.c index 47d68dbc337..d3a68e50e1c 100644 --- a/src/gallium/drivers/radeonsi/si_fence.c +++ b/src/gallium/drivers/radeonsi/si_fence.c @@ -298,12 +298,15 @@ static boolean si_fence_finish(struct pipe_screen *screen, } static void si_create_fence_fd(struct pipe_context *ctx, - struct pipe_fence_handle **pfence, int fd) + struct pipe_fence_handle **pfence, int fd, + enum pipe_fd_type type) { struct si_screen *sscreen = (struct si_screen*)ctx->screen; struct radeon_winsys *ws = sscreen->ws; struct si_multi_fence *rfence; + assert(type == PIPE_FD_TYPE_NATIVE_SYNC); + *pfence = NULL; if (!sscreen->info.has_fence_to_handle) |