[virglrenderer-devel] [PATCH 6/6] export GLSL 4.30 since we now have compute shaders and ssbos
Dave Airlie
airlied at gmail.com
Mon Jul 30 18:54:04 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 bcedbf4..5adc4f1 100644
--- a/src/vrend_renderer.c
+++ b/src/vrend_renderer.c
@@ -7903,8 +7903,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