wined3d: Use the shader backend to enable / disable atifs and nvts.
authorStefan Dösinger <stefan@codeweavers.com>
Fri, 11 Apr 2008 06:19:04 +0000 (08:19 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 24 Apr 2008 09:37:17 +0000 (11:37 +0200)
commite3bd5b6dcdae9018f4f148aa6c964d0bb3be21d1
treea798fee3ed6b0c44f557ca8d3556ae5fafc41ba0
parent9bbbebc2ce807885c5fc1fe927b14af27d8f1421
wined3d: Use the shader backend to enable / disable atifs and nvts.

The previous logic assumed that if NVTS or ATIFS are available they
will be used. This happens to be true for NVTS, but ATIFS is only used
if neither ARBFP nor GLSL are supported. This breaks fixed function
fragment processing on ATI r300 and newer cards
dlls/wined3d/arb_program_shader.c
dlls/wined3d/ati_fragment_shader.c
dlls/wined3d/baseshader.c
dlls/wined3d/context.c
dlls/wined3d/glsl_shader.c
dlls/wined3d/wined3d_private.h