[virglrenderer-devel] [RFC PATCH 4/5] vrend, feature: Add GLSL version information for GLES 3.1 host
Gert Wollny
gert.wollny at collabora.com
Thu Aug 2 08:48:26 UTC 2018
Signed-off-by: Gert Wollny <gert.wollny at collabora.com>
---
src/vrend_renderer.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c
index af1a306..c6181d2 100644
--- a/src/vrend_renderer.c
+++ b/src/vrend_renderer.c
@@ -7784,7 +7784,9 @@ static void vrend_fill_caps_glsl_version(int gl_ver, int gles_ver,
if (gles_ver > 0) {
caps->v1.glsl_level = 120;
- if (gles_ver >= 30)
+ if (gles_ver >= 31)
+ caps->v1.glsl_level = 310;
+ else if (gles_ver >= 30)
caps->v1.glsl_level = 130;
}
--
2.17.1
More information about the virglrenderer-devel
mailing list