[Bug 38648] Multiple games and applications need support for Mesa OpenGL >= 3.2 core profiles, Shader Model 4, GLSL 1.50 (Microsoft Office 2013 installer, .NET/XNA games)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Aug 30 20:14:30 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=38648

--- Comment #13 from Matthew Millar <mattmill30 at 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.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list