Am 23.05.2014 um 00:23 schrieb Andrei Slăvoiu andrei.slavoiu@gmail.com:
Mesa drivers do not expose EXT_GPU_SHADER4 as all functionality it offers is already part of OpenGL 3.0. This causes all cards that are not explicitly recognized by wine (for example all GCN cards) to be treated as DX9 cards and presented to Windows apps as Radeon 9500.
The problem is that without GL_EXT_gpu_shader4 or GL_ARB_shader_texture_lod we cannot handle the texldd instruction. Right now we cannot use core contexts, so unless the driver exposes one of those extensions in compatibility contexts we are stuck on a shader model 2 feature level :-( .
The level detection your patch changes isn't directly related to this, as the shader model version support is controlled differently. But a Radeon 9500 matches a card with shader model 2 support much better than a Radeon R9.
Does this driver / gpu combination support GL_ARB_shader_texture_lod?