diff options
author | Christian Gmeiner <[email protected]> | 2020-03-06 22:44:42 +0100 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-13 16:50:19 +0000 |
commit | a19d8c836f2263a2edeca4aea52676ecdbf2e8e9 (patch) | |
tree | 18ca7d31471b3c7086d31ae1c64eb1ef6b2a1466 | |
parent | fe204de632da54bc0902313a943374a413023e90 (diff) |
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 <[email protected]>
Reviewed-by: Lucas Stach <[email protected]>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4095>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4095>
-rw-r--r-- | src/gallium/drivers/etnaviv/etnaviv_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |