mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 02:40:11 +01:00
gallium: Add a new fence type with a pipe cap to indicate it can be imported
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Acked-by: Marek Olák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17446>
This commit is contained in:
parent
633a469a7a
commit
8cd391a63e
2 changed files with 3 additions and 0 deletions
|
|
@ -494,6 +494,7 @@ u_pipe_screen_get_param_defaults(struct pipe_screen *pscreen,
|
|||
case PIPE_CAP_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS:
|
||||
case PIPE_CAP_QUERY_SPARSE_TEXTURE_RESIDENCY:
|
||||
case PIPE_CAP_CLAMP_SPARSE_TEXTURE_LOD:
|
||||
case PIPE_CAP_TIMELINE_SEMAPHORE_IMPORT:
|
||||
return 0;
|
||||
|
||||
case PIPE_CAP_MAX_CONSTANT_BUFFER_SIZE_UINT:
|
||||
|
|
|
|||
|
|
@ -1012,6 +1012,7 @@ enum pipe_cap
|
|||
PIPE_CAP_HARDWARE_GL_SELECT,
|
||||
PIPE_CAP_DITHERING,
|
||||
PIPE_CAP_FBFETCH_ZS,
|
||||
PIPE_CAP_TIMELINE_SEMAPHORE_IMPORT,
|
||||
|
||||
PIPE_CAP_LAST,
|
||||
/* XXX do not add caps after PIPE_CAP_LAST! */
|
||||
|
|
@ -1364,6 +1365,7 @@ enum pipe_fd_type
|
|||
{
|
||||
PIPE_FD_TYPE_NATIVE_SYNC,
|
||||
PIPE_FD_TYPE_SYNCOBJ,
|
||||
PIPE_FD_TYPE_TIMELINE_SEMAPHORE,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue