[virglrenderer-devel] [PATCH 9/9] export GLSL 4.30 since we now have compute shaders and ssbos
Dave Airlie
airlied at gmail.com
Tue Jul 31 22:28:21 UTC 2018
From: Dave Airlie <airlied at redhat.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 3ce5343..9ee8213 100644
--- a/src/vrend_renderer.c
+++ b/src/vrend_renderer.c
@@ -7909,8 +7909,10 @@ static void vrend_renderer_fill_caps_gl(bool fill_capset2, int gl_ver,
caps->v1.glsl_level = 400;
else if (gl_ver == 41)
caps->v1.glsl_level = 410;
- else if (gl_ver >= 42)
+ else if (gl_ver == 42)
caps->v1.glsl_level = 420;
+ else if (gl_ver >= 43)
+ caps->v1.glsl_level = 430;
if (!vrend_state.use_core_profile) {
caps->v1.bset.poly_stipple = 1;
--
2.14.3
More information about the virglrenderer-devel
mailing list