summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_screen.c
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-08-03 13:54:45 +1000
committerTimothy Arceri <[email protected]>2017-08-03 13:57:16 +1000
commit4e4042df6b8b9375ecabebd4dffeca5339f5ba43 (patch)
tree11922d44d5af3bcebef7a2eed26a067ac055297a /src/gallium/drivers/vc4/vc4_screen.c
parentfb63c43fd1b7adb5cb4f34e7616e7d564ca178e5 (diff)
gallium: introduce PIPE_CAP_MEMOBJ
This can be used to guard support for EXT_memory_object and related extensions. v2: update gallium docs v3 (Timothy Arceri): - add cap to nv50 Signed-off-by: Andres Rodriguez <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_screen.c')
-rw-r--r--src/gallium/drivers/vc4/vc4_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_screen.c b/src/gallium/drivers/vc4/vc4_screen.c
index 8a5c0fdee88..e206456f24c 100644
--- a/src/gallium/drivers/vc4/vc4_screen.c
+++ b/src/gallium/drivers/vc4/vc4_screen.c
@@ -263,6 +263,7 @@ vc4_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_BINDLESS_TEXTURE:
case PIPE_CAP_NIR_SAMPLERS_AS_DEREF:
case PIPE_CAP_QUERY_SO_OVERFLOW:
+ case PIPE_CAP_MEMOBJ:
return 0;
/* Stream output. */