Skip to content

vrend: Also set glsl to at least 400 on D-GL when certain extension are available

Gert Wollny requested to merge gerddie/virglrenderer:fix-glsl-version into master

So far we did this only for GLES, but it also makes sense on D-GL:

When the host GL version is < 4.0 then the GLSL shader language level is set to a value below 400, but if geometry shaders, tesselation shaders, and the gpu_shader5 are supported, then we can expect that the GLSL language level 400 is actually supported, so advertice it also on a GL host.

Signed-off-by: Gert Wollny gert.wollny@collabora.com

Merge request reports