From 250505844604d771e69db4c4c3618b4804aa3801 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Mon, 9 Apr 2018 13:08:50 +0100 Subject: [PATCH] vrend: Up the shader feature level when on GLES 3.x Reviewed-by: Gurchetan Singh Signed-off-by: Jakob Bornecrantz --- src/vrend_renderer.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c index 66c6690..e396284 100644 --- a/src/vrend_renderer.c +++ b/src/vrend_renderer.c @@ -6605,7 +6605,11 @@ bool vrend_renderer_fill_caps_common(uint32_t set, uint32_t version, /* Some checks looks at v1.glsl_level so set it here. */ if (vrend_state.use_gles) { - caps->v1.glsl_level = 120; + if (gl_ver >= 30) { + caps->v1.glsl_level = 130; + } else { + caps->v1.glsl_level = 120; + } } else if (vrend_state.use_core_profile) { if (gl_ver == 31) caps->v1.glsl_level = 140;