expose GLSL 4.10 to the guest.

Now that we have tessellation and fp64 merged we can safely
expose GLSL 4.10 to the guest.
macos/master
Dave Airlie 7 years ago
parent 2f39e0f519
commit 6a80452d5c
  1. 4
      src/vrend_renderer.c

@ -6891,8 +6891,10 @@ static bool vrend_renderer_fill_caps_common(uint32_t set, UNUSED uint32_t versio
caps->v1.glsl_level = 150;
else if (gl_ver == 33)
caps->v1.glsl_level = 330;
else if (gl_ver >= 40)
else if (gl_ver == 40)
caps->v1.glsl_level = 400;
else if (gl_ver >= 41)
caps->v1.glsl_level = 410;
} else {
caps->v1.glsl_level = 130;
}

Loading…
Cancel
Save