Commit Graph

855 Commits

Author SHA1 Message Date
Józef Kucia c3be8d748f d3d9/tests: Add tests for FFP texture blending.
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>
2015-12-10 00:12:44 +09:00
Matteo Bruni 66d8e38ba4 wined3d: Handle D3DRS_SRGBWRITEENABLE in clears when ARB_framebuffer_sRGB is not supported.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-30 23:51:06 +09:00
Matteo Bruni 787a2716e1 wined3d: Respect D3DRS_SRGBWRITEENABLE in clears.
This only handles the case where ARB_framebuffer_sRGB and
EXT_texture_sRGB_decode are supported by the GL implementation.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-30 23:51:05 +09:00
Vincent Povirk 7578bca0c0 d3d9/tests: Accept CURSOR_SUPPRESSED in cursor flags.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-26 00:12:52 +09:00
Stefan Dösinger 04b41ade76 d3d9/tests: Multisampled render targets are zeroed on creation.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 23:35:21 +09:00
Matteo Bruni 59d405b473 d3d9/tests: Improve the shade mode test.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-13 22:54:05 +09:00
Henri Verbeet e855837abb d3d9/tests: Introduce a helper function to test for WARP.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-23 20:57:47 +09:00
Michael Stefaniuc 4fb840b614 d3d9/tests: Test the return value of CreateDepthStencilSurface().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-22 23:34:48 +09:00
Matteo Bruni 8075101480 d3d9/tests: Extend the shadow test a bit.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 22:42:11 +09:00
Matteo Bruni d6e4064596 d3d9/tests: Extend the INTZ test a bit.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 22:42:04 +09:00
Nikolay Sivov 6c2bda6e33 d3d9/tests: Use BOOL variable for ShowCursor return value (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-14 12:47:18 +09:00
Matteo Bruni f63386f43e d3d9/tests: Uninitialized varyings tests.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 22:24:04 +09:00
Matteo Bruni 742d4df55b d3d9/tests: Use the new readback helpers in test_pointsize().
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-12 22:09:56 +09:00
Matteo Bruni b8225d0a6a d3d9/tests: Add helpers to avoid multiple readbacks of the render target surface.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-12 22:09:56 +09:00
Matteo Bruni 171352b901 d3d9/tests: Test uninitialized texture varyings with transformed vertices.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-12 22:09:56 +09:00
Matteo Bruni 7ee0578019 d3d9/tests: Fix color_match().
Clang on OS X complains about calling abs() on an unsigned value.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 21:00:38 +09:00
Stefan Dösinger 178d0030a2 d3d9/tests: Port test_flip to d3d9.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
2015-10-06 19:23:32 +09:00
Gerald Pfeifer 601aa570f1 d3d9: Avoid shift overflow in render_state_test_data_init.
Same patch as just a minute ago, alas fro d3d9 instead of d3d8.

Gerald
2015-09-08 21:59:17 +09:00
Stefan Dösinger 2e8e2da5ee d3d9/tests: Test D3DBACKBUFFER_TYPE. 2015-09-08 21:59:16 +09:00
Stefan Dösinger fc987aaaf6 d3d9/tests: Add more GetBackBuffer error handling tests. 2015-09-03 21:11:08 +09:00
Stefan Dösinger 0933332c73 d3d9/tests: Fix backbuffer read vs flip in test_vertex_blending. 2015-08-28 19:52:25 +09:00
Stefan Dösinger 9261bbb1a6 d3d9/tests: Test presentation parameter combinations. 2015-08-27 21:43:47 +09:00
Stefan Dösinger 961f4c0a25 d3d9/tests: Mark testbot depth bias results broken. 2015-08-06 21:04:30 +09:00
Henri Verbeet 0c8e78f80d d3d9: Don't assert on invalid IDirect3DBaseTexture9 interfaces. 2015-08-04 12:21:58 +02:00
Stefan Dösinger 571462c633 d3d9/tests: Add a depth bias test. 2015-07-30 23:51:22 +02:00
Matteo Bruni 68e2503965 d3d9/tests: Don't call SetVertexShaderConstantF if vertex shaders aren't supported.
Also slightly change attenuation factors to try to stay away from the
(possible) implementation max size of 64.
2015-07-29 20:56:37 +02:00
Matteo Bruni 149b1549be d3d9/tests: Fix caps check in texdepth_test(). 2015-07-29 20:56:35 +02:00
Matteo Bruni 76b1461d17 d3d9/tests: Add a test for UpdateTexture. 2015-07-09 17:18:22 +09:00
Józef Kucia 399cf7e4b9 d3d9/tests: Add basic tests for vertex blending. 2015-07-03 16:51:39 +09:00
Matteo Bruni 170dca7741 wined3d: Handle per-vertex point size in the GLSL FFP replacement. 2015-06-17 20:01:19 +09:00
Matteo Bruni 4611ad8bef d3d9/tests: Test the default colors for fixed function vertex processing. 2015-06-12 21:23:12 +09:00
Matteo Bruni 3c7e48a132 d3d9/tests: Test the default diffuse color for vertex shaders. 2015-06-12 21:23:12 +09:00
Matteo Bruni 81935797a1 d3d9/tests: Add a test for reordering texture coordinates via D3DTSS_TEXCOORDINDEX. 2015-06-11 19:34:54 +09:00
Stefan Dösinger 4d8bfe190c d3d9/tests: Test multisample mismatch. 2015-06-10 23:25:05 +09:00
Matteo Bruni 386b5ded61 d3d9/tests: Add more tests for point size. 2015-06-05 16:52:54 +09:00
Stefan Dösinger 87bf9c99b8 d3d9/tests: Avoid invalid framebuffer configrations in resz_test. 2015-05-19 22:56:05 +09:00
Matteo Bruni 40ce3d16e8 d3d9/tests: Add spotlight and light range tests. 2015-04-29 17:02:16 +09:00
Sebastian Lackner cf9c3fed18 d3d9/tests: Fix compile error with gcc 4.9. 2015-04-28 15:36:21 +09:00
Stefan Dösinger 7109bebd02 wined3d: Move volume DXTn handling to apply_format_fixups. 2015-04-27 15:07:42 +09:00
Matteo Bruni 1e494a69c1 d3d9/tests: Add a specular lighting test. 2015-04-24 19:08:04 +09:00
Matteo Bruni b963c73abb wined3d: Introduce D3D7+ normal matrix computation. 2015-04-24 19:07:52 +09:00
Matteo Bruni 92cb56a2f8 d3d9/tests: Add a lighting test with non-affine worldview matrix. 2015-04-22 23:23:57 +09:00
Henri Verbeet ca00d72da3 d3d9/tests: Release "d3d9ex" after we're done with it in test_wndproc() (Valgrind). 2015-04-21 22:21:48 +09:00
Henri Verbeet dc53f6c2e6 wined3d: Use the display format if WINED3DFMT_UNKNOWN is passed as backbuffer format for windowed mode resets. 2015-04-15 22:21:58 +09:00
Henri Verbeet 3ccac1a71f d3d9: Update the backbuffer D3DPRESENT_PARAMETERS after a successful reset. 2015-04-14 17:26:44 +09:00
Henri Verbeet af438d451c d3d9/tests: Test D3DPRESENT_PARAMETERS after a successful reset. 2015-04-14 17:26:36 +09:00
Henri Verbeet f35cc97911 d3d10core/tests: Port the d3d9 vPos test to d3d10. 2015-03-31 18:49:28 +09:00
Matteo Bruni 2f710d72bb d3d9/tests: Add more lighting tests. 2015-03-27 20:40:38 +09:00
Francois Gouget f505e6fb4a Assorted spelling fixes. 2015-03-19 21:54:14 +09:00
Stefan Dösinger 462346ac83 d3d9/tests: Extend the colorfill test. 2015-03-18 21:03:38 +09:00