[Bug 28529] Limbo game doesn't detect Shader Model 3.0, while card supports it

wine-bugs at winehq.org wine-bugs at winehq.org
Wed May 29 05:07:56 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=28529

--- Comment #11 from Henri Verbeet <hverbeet at gmail.com> 2013-05-29 05:07:56 CDT ---
(In reply to comment #10)
> Are you sure that SM3.0 that ARB_shader_texture_lod is required for supporting
> SM3.0? For example, patching wine for disabling that commit
> (http://source.winehq.org/git/wine.git/commitdiff/c51db63ba4eda7e2cb565ebadf5ede8fe6e1a9dd)
> gets running EVE Online with SM3.0
> 
Well, you can get lucky if the application doesn't actually use texldd or
texldl in fragment shaders. Many SM3 applications don't, but that doesn't mean
we can report the capability if the driver doesn't support it.

> And I'm not sure that checking ARB_shader_texture_lod is the best method for
> checking SM3.0
> NVidia
> (http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved=0CCwQFjAA&url=ftp%3A%2F%2Fdownload.nvidia.com%2Fdeveloper%2FPapers%2F2004%2FVertex_Textures%2FVertex_Textures.pdf&ei=yMClUf6oGOHk4QTLyoGICg&usg=AFQjCNGfmVa9YvIw2isovihOz1fXS_lZtw&bvm=bv.47008514,d.bGE)
> recommends do it with NV_vertex_program3:
> 
That's for vertex shaders, the specific issue is with texldd and texldl in
fragment shaders. More importantly, that extension is for NVIDIA's proprietary
NV_vertex_program / NV_fragment_program extensions, it doesn't do anything for
GLSL shaders. That said, if the driver supports the NV_fragment_program2
extension, you should indeed get SM3 if you disable the GLSL shader backend and
use the ARB program shader backend instead. Note that that configuration is
mostly unsupported though.

Something else to consider may be using the Nouveau drivers instead. I'm not
entirely sure what level of support it has for GF6/7 hardware at this point,
but there's a decent chance it either already supports ARB_shader_texture_lod,
or could be made to relatively easily.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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