crocus: Advertise PIPE_CAP_NATIVE_FENCE_FD
authorNicholas Bishop <nicholasbishop@google.com>
Fri, 21 Oct 2022 16:45:20 +0000 (12:45 -0400)
committerMarge Bot <emma+marge@anholt.net>
Mon, 24 Oct 2022 22:56:00 +0000 (22:56 +0000)
Enables EGL_ANDROID_native_fence_sync.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7253
Signed-off-by: Nicholas Bishop <nicholasbishop@google.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19235>

src/gallium/drivers/crocus/crocus_screen.c

index 1aa23de..d17feef 100644 (file)
@@ -194,6 +194,7 @@ crocus_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
    case PIPE_CAP_DEMOTE_TO_HELPER_INVOCATION:
    case PIPE_CAP_GL_CLAMP:
    case PIPE_CAP_LEGACY_MATH_RULES:
+   case PIPE_CAP_NATIVE_FENCE_FD:
       return true;
    case PIPE_CAP_INT64:
    case PIPE_CAP_INT64_DIVMOD: