gallium: introduce PIPE_FD_TYPE_SYNCOBJ
authorAndres Rodriguez <andresx7@gmail.com>
Tue, 5 Dec 2017 20:44:04 +0000 (15:44 -0500)
committerAndres Rodriguez <andresx7@gmail.com>
Tue, 30 Jan 2018 20:13:49 +0000 (15:13 -0500)
Denotes that a fd is backed by a synobj. For example, radv shared
semaphores.

Signed-off-by: Andres Rodriguez <andresx7@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/include/pipe/p_defines.h

index ef8f0b4..1994135 100644 (file)
@@ -1088,6 +1088,7 @@ struct pipe_driver_query_group_info
 enum pipe_fd_type
 {
    PIPE_FD_TYPE_NATIVE_SYNC,
+   PIPE_FD_TYPE_SYNCOBJ,
 };
 
 enum pipe_debug_type