vrend: Lie a bit more about the GLSL support level on GLES

Apart from fp64 about which we lie aynway the features required by
GLSL level 4.10 on top of 4.00 can be supported by GLES, so report
this higher feature level and it will give us GL 4.1 in the guest.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
macos/master
Gert Wollny 6 years ago committed by Dave Airlie
parent 88ffc3beb3
commit 1a27e447f9
  1. 2
      src/vrend_renderer.c

@ -8221,7 +8221,7 @@ static void vrend_fill_caps_glsl_version(int gl_ver, int gles_ver,
* OES_geometry_shader and ARB_gpu_shader5 * OES_geometry_shader and ARB_gpu_shader5
* based on this value, apart from that it doesn't * based on this value, apart from that it doesn't
* seem to be a crucial value */ * seem to be a crucial value */
caps->v1.glsl_level = 400; caps->v1.glsl_level = has_feature(feat_separate_shader_objects) ? 410 : 400;
} }
} }

Loading…
Cancel
Save