panfrost: Expose PIPE_CAP_SHAREABLE_SHADERS

Now that the compile entrypoints don't touch the context, it's clear
that we can support this. Note, even though the pools for shaders and
descriptors are referenced from particular contexts, they are unowned
pools -- once uploaded, any thread can use the results.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10976>
This commit is contained in:
Alyssa Rosenzweig 2021-05-24 17:31:00 -04:00 committed by Marge Bot
parent 4b984c494c
commit 8fc913fde2
1 changed files with 0 additions and 3 deletions

View File

@ -307,9 +307,6 @@ panfrost_get_param(struct pipe_screen *screen, enum pipe_cap param)
case PIPE_CAP_NIR_IMAGES_AS_DEREF:
return 0;
case PIPE_CAP_SHAREABLE_SHADERS:
return 0;
case PIPE_CAP_DRAW_INDIRECT:
return has_heap && is_deqp;