virgl: expose glsl 4.20

This should expose GL4.2 on the host now.

Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
macos/master
Dave Airlie 7 years ago
parent 8289e3f1d8
commit 729162752e
  1. 4
      src/vrend_renderer.c

@ -7740,8 +7740,10 @@ static void vrend_renderer_fill_caps_gl(bool fill_capset2, int gl_ver,
caps->v1.glsl_level = 330;
else if (gl_ver == 40)
caps->v1.glsl_level = 400;
else if (gl_ver >= 41)
else if (gl_ver == 41)
caps->v1.glsl_level = 410;
else if (gl_ver >= 42)
caps->v1.glsl_level = 420;
if (!vrend_state.use_core_profile) {
caps->v1.bset.poly_stipple = 1;

Loading…
Cancel
Save