[virglrenderer-devel] [PATCH 12/12] arb_gpu_shader5: expose higher GLSL level to guest
Dave Airlie
airlied at gmail.com
Tue May 15 04:38:10 UTC 2018
From: Dave Airlie <airlied at redhat.com>
This enables the ARB_gpu_shader5 extension
---
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 4cfeb6b..bbe5983 100644
--- a/src/vrend_renderer.c
+++ b/src/vrend_renderer.c
@@ -6616,8 +6616,10 @@ bool vrend_renderer_fill_caps_common(uint32_t set, uint32_t version,
caps->v1.glsl_level = 140;
else if (gl_ver == 32)
caps->v1.glsl_level = 150;
- else if (gl_ver >= 33)
+ else if (gl_ver == 33)
caps->v1.glsl_level = 330;
+ else if (gl_ver >= 40)
+ caps->v1.glsl_level = 400;
} else {
caps->v1.glsl_level = 130;
}
--
2.14.3
More information about the virglrenderer-devel
mailing list