From 4e4042df6b8b9375ecabebd4dffeca5339f5ba43 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Thu, 3 Aug 2017 13:54:45 +1000 Subject: gallium: introduce PIPE_CAP_MEMOBJ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Marek Olšák Reviewed-by: Samuel Pitoiset --- src/gallium/drivers/virgl/virgl_screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/virgl') diff --git a/src/gallium/drivers/virgl/virgl_screen.c b/src/gallium/drivers/virgl/virgl_screen.c index d23df42b988..68d74adadda 100644 --- a/src/gallium/drivers/virgl/virgl_screen.c +++ b/src/gallium/drivers/virgl/virgl_screen.c @@ -267,6 +267,7 @@ virgl_get_param(struct pipe_screen *screen, 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; case PIPE_CAP_VENDOR_ID: return 0x1af4; -- cgit v1.2.3