arb_gpu_shader5: expose higher GLSL level to guest

This enables the ARB_gpu_shader5 extension

Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
macos/master
Dave Airlie 7 years ago
parent 54c2308029
commit 01d02cee1b
  1. 4
      src/vrend_renderer.c

@ -6660,8 +6660,10 @@ bool vrend_renderer_fill_caps_common(uint32_t set, uint32_t version,
caps->v1.glsl_level = 140; caps->v1.glsl_level = 140;
else if (gl_ver == 32) else if (gl_ver == 32)
caps->v1.glsl_level = 150; caps->v1.glsl_level = 150;
else if (gl_ver >= 33) else if (gl_ver == 33)
caps->v1.glsl_level = 330; caps->v1.glsl_level = 330;
else if (gl_ver >= 40)
caps->v1.glsl_level = 400;
} else { } else {
caps->v1.glsl_level = 130; caps->v1.glsl_level = 130;
} }

Loading…
Cancel
Save