diff options
author | Jose Maria Casanova Crespo <[email protected]> | 2019-10-11 13:53:32 +0200 |
---|---|---|
committer | Jose Maria Casanova Crespo <[email protected]> | 2019-10-18 14:08:52 +0200 |
commit | f8da0f6198914dd072a642e4ecc96480f740acd3 (patch) | |
tree | 6b8aa85eb470e3c9bb78defb4b791ae819cd8c22 /src/gallium | |
parent | db8743923253466b23299708a2060cbf6c715411 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/v3d/v3d_screen.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |