Stefan Dösinger : wined3d: Implement texldd.
Alexandre Julliard
julliard at winehq.org
Tue May 5 09:12:53 CDT 2009
Module: wine
Branch: master
Commit: f5e24f7a85a4e3d296b4ad62d1a438dc156d8659
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f5e24f7a85a4e3d296b4ad62d1a438dc156d8659
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Sun May 3 20:38:09 2009 +0200
wined3d: Implement texldd.
GL_ARB_shader_texture is supported on dx9 ATI cards(and probably dx10
ones too). For Nvidia cards I included a fallback to normal texld.
GL_EXT_gpu_shader4 supports similar texture*Grad GLSL functions, just
with an EXT prefix instead of ARB. For dx9 NV cards we'd have to use
GL_NV_fragment_program2, which supports a texldd equivalent on those
cards.
---
dlls/wined3d/baseshader.c | 4 ++
dlls/wined3d/directx.c | 1 +
dlls/wined3d/glsl_shader.c | 88 ++++++++++++++++++++++++++++++++--------
dlls/wined3d/wined3d_gl.h | 1 +
dlls/wined3d/wined3d_private.h | 2 +-
5 files changed, 78 insertions(+), 18 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=f5e24f7a85a4e3d296b4ad62d1a438dc156d8659
More information about the wine-cvs
mailing list