https://bugs.winehq.org/show_bug.cgi?id=38648
--- Comment #9 from Henri Verbeet hverbeet@gmail.com --- (In reply to Anastasius Focht from comment #8)
Hello folks,
that's not a Wine problem but rather with Mesa.
You're obviously using an open source graphics driver which doesn't have OpenGL 4 core profile support that is required here, hence the failure.
That's sort of correct, but not quite. We don't require OpenGL 4 for shader model 4, see shader_glsl_get_caps() in wined3d for details. The main thing that's blocking SM4 on Mesa is ARB_geometry_shader4 / GLSL 1.50. The latter in particular is only available on core contexts in Mesa. Matteo is working on making wined3d support those, at which point the requirement would become something like OpenGL 3.2 or 3.3. You can hack shader_glsl_get_caps() to set "shader_model" to 4 and it will sort of work, provided you don't try to use geometry shaders.