i965: Enable EXT_memory_object_* for Gen 7 and above

Signed-off-by: Rohan Garg <rohan.garg@collabora.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5594>
This commit is contained in:
Rohan Garg 2021-01-26 16:58:59 +01:00 committed by Rohan Garg
parent 58890ea199
commit 5769774594

View file

@ -393,4 +393,11 @@ brw_init_extensions(struct gl_context *ctx)
ctx->Extensions.EXT_demote_to_helper_invocation = true;
ctx->Const.PrimitiveRestartFixedIndex = true;
if (devinfo->ver >= 7) {
ctx->Extensions.EXT_memory_object_fd = true;
ctx->Extensions.EXT_memory_object = true;
ctx->Extensions.EXT_semaphore = true;
ctx->Extensions.EXT_semaphore_fd = true;
}
}