https://bugs.winehq.org/show_bug.cgi?id=38648
--- Comment #13 from Matthew Millar mattmill30@googlemail.com --- Created attachment 52221 --> https://bugs.winehq.org/attachment.cgi?id=52221 Patch to hardcode 'shader_model = 4' for use when compiling on systems with mesa
As I understand it, this issue is the result of flawed logic in the shader_model selection criteria resulting in shader_model variable in dlls/wined3d/glsl_shader.c being set to 2 or 3, when it should be 4 for Mesa.
In my case dxgi was locating a 'VMware Inc.' graphics card, when it should have been locating an Intel.
Mystral on freenode #winehackers suggested 'you can try to hack shader_glsl_get_caps() to always set shader_model to 4; in dlls/wined3d/glsl_shader.c'.
After removing the selection logic and specifying shader_model = 4, then re-compiling, the graphics card was correctly identified and Microsoft Office 2013 installer didn't crash at this stage.