From a19d8c836f2263a2edeca4aea52676ecdbf2e8e9 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Fri, 6 Mar 2020 22:44:42 +0100 Subject: etnaviv: enable shareable shaders We are not using any pctx reference in the shader so it seems fine to enable this cap. Signed-off-by: Christian Gmeiner Reviewed-by: Lucas Stach Tested-by: Marge Bot Part-of: --- src/gallium/drivers/etnaviv/etnaviv_screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/etnaviv') diff --git a/src/gallium/drivers/etnaviv/etnaviv_screen.c b/src/gallium/drivers/etnaviv/etnaviv_screen.c index 1aeef0dea53..d5fd35cbd77 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_screen.c +++ b/src/gallium/drivers/etnaviv/etnaviv_screen.c @@ -152,6 +152,7 @@ etna_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_MIXED_COLOR_DEPTH_BITS: case PIPE_CAP_MIXED_FRAMEBUFFER_SIZES: case PIPE_CAP_STRING_MARKER: + case PIPE_CAP_SHAREABLE_SHADERS: return 1; case PIPE_CAP_NATIVE_FENCE_FD: return screen->drm_version >= ETNA_DRM_VERSION_FENCE_FD; -- cgit v1.2.3