On 14 November 2014 14:22, Jonas Maebe jonas.maebe@elis.ugent.be wrote:
I did not disable anything. From what I understood from the code, if a video card is not known to wine, then
- d3d_level_from_gl_info() will be used to determine the supported
directx level
- since e9b0a0e18, d3d_level_from_gl_info()'s return value is purely
based on shader_caps->vs_version
I did miss that this version can also be set in glsl_shader.c, and there it's indeed not limited to 3.
Right, it's possible/likely that shader_glsl_get_caps() returns shader model 3 on OSX because it's missing some of the extensions we're using for shader model 4, either in non-core contexts or at all. We're working on using core GL 3.2 / GLSL 1.50 instead, but that will take a while.