wine/dlls/d3d9/tests
Stefan Dösinger 50109aa969 wined3d: Get rid of last_was_foggy_shader & friends.
The fog settings do not depend on wether the shader writes to oFog or not,
instead they depend on the FOGVERTEXMODE and FOGTABLEMODE settings, and if a
vertex shader is bound at all.

It works the same way as with the fixed function, and having a vertex shader
is the same as using pretransformed vertices, just that the fog coord comes
from the shader instead of the specular color:

FOGTABLEMODE != NONE: The Z coord is used, oFog is ignored
FOGTABLEMODE == NONE, with VS: oFog is used
FOGTABLEMODE == NONE, no VS, XYZ: Z is used
FOGTABLEMODE == NONE, no VS, XYZRHW: diffuse color is used
2009-01-20 12:45:40 +01:00
..
d3d9ex.c d3d9/tests: Skip tests if we can't create the D3D9 object. 2008-12-04 12:51:20 +01:00
device.c d3d9: Remove some superfluous pointer casts. 2009-01-20 12:34:12 +01:00
Makefile.in d3d9: Don't depend on the dxerr9 static library in the tests. 2008-07-08 17:51:46 +02:00
query.c d3d9: Convert source files to utf-8. 2008-10-18 19:19:23 +02:00
shader.c d3d: Make sure the device is properly released when exiting the tests. 2008-12-29 12:16:35 +01:00
stateblock.c d3d9: Use a HAL device for the stateblock tests. 2008-12-29 12:16:47 +01:00
surface.c d3d: Make sure the device is properly released when exiting the tests. 2008-12-29 12:16:35 +01:00
texture.c d3d9: Don't test invalid texture stages. 2009-01-06 12:45:14 +01:00
vertexdeclaration.c d3d: Make sure the device is properly released when exiting the tests. 2008-12-29 12:16:35 +01:00
visual.c wined3d: Get rid of last_was_foggy_shader & friends. 2009-01-20 12:45:40 +01:00
volume.c d3d: Make sure the device is properly released when exiting the tests. 2008-12-29 12:16:35 +01:00