Recognize cards that expose GLSL 1.30 as DX10 capable even if they don't support EXT_GPU_SHADER4

Stefan Dösinger stefandoesinger at gmail.com
Tue May 27 08:56:57 CDT 2014


Am 23.05.2014 um 00:23 schrieb Andrei Slăvoiu <andrei.slavoiu at 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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20140527/4bfc3ed6/attachment.sig>


More information about the wine-devel mailing list