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 <eric@anholt.net>
This commit is contained in:
Jose Maria Casanova Crespo
2019-10-11 13:53:32 +02:00
parent db87439232
commit f8da0f6198
+3
View File
@@ -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;