zink: bump to glsl 1.40

but leaving compat mode at 1.30 for now

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7109>
This commit is contained in:
Mike Blumenkrantz 2020-07-01 15:51:14 -04:00 committed by Marge Bot
parent 8028991f36
commit 815f0c01b0

View File

@ -170,9 +170,10 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_CONDITIONAL_RENDER:
return screen->info.have_EXT_conditional_rendering;
case PIPE_CAP_GLSL_FEATURE_LEVEL:
case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY:
return 130;
case PIPE_CAP_GLSL_FEATURE_LEVEL:
return 140;
#if 0 /* TODO: Enable me */
case PIPE_CAP_COMPUTE: