UPSTREAM: crocus: Advertise PIPE_CAP_NATIVE_FENCE_FD

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>
(cherry picked from commit 7bc7b08bcf64e0b68812a253ccb9a95b7be84e55,
    https://gitlab.freedesktop.org/mesa/mesa.git main)

BUG=b:244724997, b:249097815
TEST=emerge-reven mesa-reven
TEST=check that UI works on Flex asset 101

Change-Id: I63d87c1c27917bb8fe6b41c0d2c2db1af7a7930d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/mesa/+/3982501
Reviewed-by: Jeffery Miller <jefferymiller@google.com>
Commit-Queue: Nicholas Bishop <nicholasbishop@google.com>
Tested-by: Nicholas Bishop <nicholasbishop@google.com>
diff --git a/src/gallium/drivers/crocus/crocus_screen.c b/src/gallium/drivers/crocus/crocus_screen.c
index 2a3f0ff..8c1fd91 100644
--- a/src/gallium/drivers/crocus/crocus_screen.c
+++ b/src/gallium/drivers/crocus/crocus_screen.c
@@ -197,6 +197,7 @@
    case PIPE_CAP_FENCE_SIGNAL:
    case PIPE_CAP_DEMOTE_TO_HELPER_INVOCATION:
    case PIPE_CAP_GL_CLAMP:
+   case PIPE_CAP_NATIVE_FENCE_FD:
       return true;
    case PIPE_CAP_INT64:
    case PIPE_CAP_INT64_DIVMOD: