Sweden-Number/dlls/d3d9
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
..
tests wined3d: Get rid of last_was_foggy_shader & friends. 2009-01-20 12:45:40 +01:00
Makefile.in makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
basetexture.c d3d9: Use the correct AddRef and Release macros. 2008-11-04 11:40:23 +01:00
cubetexture.c wined3d: Add an IWineD3DDeviceParent interface. 2009-01-16 13:29:32 +01:00
d3d9.spec
d3d9_main.c wined3d: Remove the SDKVersion parameter to WineDirect3DCreate(). 2008-10-24 14:24:59 +02:00
d3d9_private.h wined3d: Add an IWineD3DDeviceParent interface. 2009-01-16 13:29:32 +01:00
device.c d3d9: Remove some superfluous pointer casts. 2009-01-20 12:34:12 +01:00
directx.c wined3d: Add an IWineD3DDeviceParent interface. 2009-01-16 13:29:32 +01:00
indexbuffer.c d3d9: Use the correct AddRef and Release macros. 2008-11-04 11:40:23 +01:00
pixelshader.c d3d9: Use separate codepaths for failure and NULL return values in GetVertexShader() / GetPixelShader(). 2008-12-30 11:36:42 +01:00
query.c d3d: Correct some debug levels. 2008-12-30 11:36:50 +01:00
resource.c d3d9: Use the correct AddRef and Release macros. 2008-11-04 11:40:23 +01:00
stateblock.c d3d: Correct some debug levels. 2008-12-30 11:36:50 +01:00
surface.c ddrawex: Add a test for the permanent DC function. 2009-01-09 16:26:06 +01:00
swapchain.c wined3d: Add an IWineD3DDeviceParent interface. 2009-01-16 13:29:32 +01:00
texture.c wined3d: Add an IWineD3DDeviceParent interface. 2009-01-16 13:29:32 +01:00
version.rc
vertexbuffer.c d3d9: Use the correct AddRef and Release macros. 2008-11-04 11:40:23 +01:00
vertexdeclaration.c d3d9: Use the correct size for D3DFVF_XYZW. 2008-12-29 11:49:54 +01:00
vertexshader.c d3d9: Use separate codepaths for failure and NULL return values in GetVertexShader() / GetPixelShader(). 2008-12-30 11:36:42 +01:00
volume.c wined3d: Add an IWineD3DDeviceParent interface. 2009-01-16 13:29:32 +01:00
volumetexture.c wined3d: Add an IWineD3DDeviceParent interface. 2009-01-16 13:29:32 +01:00