wine/dlls/d3d9
Józef Kucia 5d2a3ad310 wined3d: Add support for D3D10+ depth bias.
Direct3D seems to define exact depth bias scale factors per format.
In order to make depth bias work reliably across OpenGL drivers we need
to slightly adjust depth bias values passed to glPolygonOffset().

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-06 17:00:55 +01:00
..
tests d3d9: Clamp clip plane index to valid range. 2017-12-04 11:52:00 +01:00
buffer.c d3d9: Use wined3d_resource_unmap() in d3d9_indexbuffer_Unlock(). 2016-08-30 19:09:21 +09:00
d3d9.spec
d3d9_main.c
d3d9_private.h d3d9: Clamp clip plane index to valid range. 2017-12-04 11:52:00 +01:00
device.c d3d9: Clamp clip plane index to valid range. 2017-12-04 11:52:00 +01:00
directx.c wined3d: Add support for D3D10+ depth bias. 2017-12-06 17:00:55 +01:00
Makefile.in
query.c d3d9/tests: Windows 10 17.09 added an undocumented query type. 2017-11-07 18:13:12 +01:00
shader.c wined3d: Add support for patch constant signatures. 2017-05-12 16:11:13 +02:00
stateblock.c
surface.c wined3d: Introduce a helper function to assign wined3d_box values. 2017-04-07 11:37:28 +02:00
swapchain.c d3d9: Do not decrease swapchain refcount when it is already 0. 2017-02-13 18:50:12 +01:00
texture.c d3d9: Stop calling wined3d_texture_generate_mipmaps(). 2017-12-05 20:30:05 +01:00
version.rc
vertexdeclaration.c wined3d: Introduce R10G10B10X2 vertex formats for D3D8/9. 2016-07-27 22:21:12 +09:00
volume.c wined3d: Merge wined3d_surface_map() and wined3d_volume_map(). 2016-03-13 15:41:53 +09:00