wined3d: Implement texldd.
authorStefan Dösinger <stefan@codeweavers.com>
Sun, 3 May 2009 18:38:09 +0000 (20:38 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 5 May 2009 12:12:52 +0000 (14:12 +0200)
commitf5e24f7a85a4e3d296b4ad62d1a438dc156d8659
treeb94bd80d93f64993a395c4568605b9e8adac9b8f
parente7537418d9b583eb731bf820f8b613559ad46f32
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
dlls/wined3d/directx.c
dlls/wined3d/glsl_shader.c
dlls/wined3d/wined3d_gl.h
dlls/wined3d/wined3d_private.h