From: Jose Maria Casanova Crespo Date: Fri, 11 Oct 2019 11:53:32 +0000 (+0200) Subject: v3d: Explicitly expose OpenGL ES Shading Language 3.1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f8da0f6198914dd072a642e4ecc96480f740acd3;p=mesa.git v3d: Explicitly expose OpenGL ES Shading Language 3.1 This will expose GL_EXT_primitive_bounding_box and GL_OES_primitive_bounding_box after previous commits expose OpenGL ES 3.1 once Compute Shaders are available. Reviewed-by: Eric Anholt --- diff --git a/src/gallium/drivers/v3d/v3d_screen.c b/src/gallium/drivers/v3d/v3d_screen.c index 2d63a43e2dd..d468ae6144a 100644 --- a/src/gallium/drivers/v3d/v3d_screen.c +++ b/src/gallium/drivers/v3d/v3d_screen.c @@ -183,6 +183,9 @@ v3d_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_GLSL_FEATURE_LEVEL: return 330; + case PIPE_CAP_ESSL_FEATURE_LEVEL: + return 310; + case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY: return 140;