summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan A. Suarez Romero <jasuarez@igalia.com>2020-10-26 20:43:35 +0200
committerEleni Maria Stea <elene.mst@gmail.com>2021-04-20 15:59:03 +0300
commit05cf1e7f36cb5337aea3467c730bac1b80494730 (patch)
tree3b22cd106ff96c159e4654e0ef03c72483163156
parent772dc50d162f6ac99676ef5134607f0d0e6db21e (diff)
iris: enable GL_EXT_memory_object feature
This is enabled by enabling gallium's memobj capability. Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Rohan Garg <rohan.garg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4337>
-rw-r--r--src/gallium/drivers/iris/iris_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c
index fc9b732708c..b018e32ae64 100644
--- a/src/gallium/drivers/iris/iris_screen.c
+++ b/src/gallium/drivers/iris/iris_screen.c
@@ -257,6 +257,7 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_GL_SPIRV_VARIABLE_POINTERS:
case PIPE_CAP_DEMOTE_TO_HELPER_INVOCATION:
case PIPE_CAP_NATIVE_FENCE_FD:
+ case PIPE_CAP_MEMOBJ:
case PIPE_CAP_MIXED_COLOR_DEPTH_BITS:
case PIPE_CAP_FENCE_SIGNAL:
return true;