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:
parent
b9a136cdd1
commit
f0e65805cb
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue