panfrost: Drop PIPE_CAP_GLSL_FEATURE_LEVEL for Bifrost

We don't want derivative instructions sneaking in from desktop GL before
we support them.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7206>
This commit is contained in:
Alyssa Rosenzweig 2020-10-22 10:56:54 -04:00 committed by Marge Bot
parent b9a136cdd1
commit f0e65805cb
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ panfrost_get_param(struct pipe_screen *screen, enum pipe_cap param)
case PIPE_CAP_GLSL_FEATURE_LEVEL:
case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY:
return is_gl3 ? 330 : 140;
return is_gl3 ? 330 : is_bifrost ? 120 : 140;
case PIPE_CAP_ESSL_FEATURE_LEVEL:
return is_bifrost ? 120 : 300;