iris: Advertise PIPE_CAP_NATIVE_FENCE_FD
authorKristian H. Kristensen <hoegsberg@google.com>
Thu, 19 Dec 2019 18:56:03 +0000 (10:56 -0800)
committerKristian H. Kristensen <hoegsberg@google.com>
Wed, 15 Jan 2020 22:47:46 +0000 (14:47 -0800)
Enables EGL_ANDROID_native_fence_sync.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/iris/iris_screen.c

index a566c58b05fc58c4c267b23dbe487debcd857462..b17a7e5a24f09c3f1d05d180f8b9dd8baaa4d2de 100644 (file)
@@ -197,6 +197,7 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
    case PIPE_CAP_GL_SPIRV:
    case PIPE_CAP_GL_SPIRV_VARIABLE_POINTERS:
    case PIPE_CAP_DEMOTE_TO_HELPER_INVOCATION:
+   case PIPE_CAP_NATIVE_FENCE_FD:
       return true;
    case PIPE_CAP_FBFETCH:
       return BRW_MAX_DRAW_BUFFERS;