Module: Mesa
Branch: master
Commit: f8da0f6198914dd072a642e4ecc96480f740acd3
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8da0f6198914dd072a642e4ecc96480f740acd3

Author: Jose Maria Casanova Crespo <jmcasan...@igalia.com>
Date:   Fri Oct 11 13:53:32 2019 +0200

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 <e...@anholt.net>

---

 src/gallium/drivers/v3d/v3d_screen.c | 3 +++
 1 file changed, 3 insertions(+)

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;
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to