Commit Graph

1207 Commits

Author SHA1 Message Date
Matteo Bruni aeade16d62 d3d9/tests: Skip unbound_sampler_test if cube or volume textures aren't supported. 2013-06-20 22:14:36 +02:00
Matteo Bruni 5ffabcdfff d3d9/tests: Reset texture 0 to NULL at the end of texop_test(). 2013-06-20 22:14:35 +02:00
Stefan Dösinger e030ed3c2f d3d9/tests: Add a test for fog_start == fog_end. 2013-06-19 20:09:53 +02:00
Henri Verbeet 4de77fa23f wined3d: Allow a custom pitch to be specified in wined3d_surface_set_mem(). 2013-06-14 11:46:20 +02:00
Henri Verbeet 93b76d9a9c d3d9: Create textures for swapchain surfaces. 2013-06-06 11:47:22 +02:00
Henri Verbeet d6bc4fe71a wined3d: Allow surface flags to be passed to texture creation functions. 2013-06-06 11:47:19 +02:00
Henri Verbeet 91096dd7ad wined3d: Pass a wined3d_resource_desc structure to wined3d_texture_create_3d(). 2013-06-06 11:47:07 +02:00
Henri Verbeet b23739316c wined3d: Pass a wined3d_resource_desc structure to wined3d_texture_create_cube(). 2013-06-05 17:31:39 +02:00
Henri Verbeet 9d4cbd6195 wined3d: Pass a wined3d_resource_desc structure to wined3d_texture_create_2d(). 2013-06-05 17:31:39 +02:00
Henri Verbeet 13a38e8d5e wined3d: Pass a wined3d_resource_desc structure to device_parent_create_swapchain_surface(). 2013-06-04 10:14:28 +02:00
Henri Verbeet a4d2660c9b wined3d: Pass a wined3d_resource_desc structure to device_parent_create_texture_surface(). 2013-06-04 10:14:26 +02:00
Stefan Dösinger 30e9a37bbb d3d9/tests: d3d9ex video memory accounting tests. 2013-05-21 19:41:39 +02:00
Stefan Dösinger 9287bb80dc d3d: d3d9ex does not do video memory accounting for D3DPOOL_DEFAULT resources. 2013-05-20 19:08:28 +02:00
Stefan Dösinger 098105dca4 d3d9/tests: Don't test for equality in d3d9's depth_blit_test. 2013-04-24 18:26:48 +02:00
Stefan Dösinger a4babd2ed3 d3d9/tests: Nvidia cannot handle 2x1 YUY2/UYVY surfaces. 2013-04-24 18:26:39 +02:00
Stefan Dösinger 6f8d25635d d3d9/tests: Add r500 fp_special results. 2013-04-24 18:26:32 +02:00
Stefan Dösinger 67e57c84b9 d3d9/tests: Correct nv40 results. 2013-04-24 18:26:30 +02:00
Stefan Dösinger 6c031274c3 d3d9/tests: Fix a test failure on cards that don't support mipmapped cube textures. 2013-04-16 17:49:08 +02:00
Stefan Dösinger 39e7248d71 d3d9/tests: Test NPOT texture creation. 2013-04-16 17:48:52 +02:00
Sam Edwards 33d31a3547 wined3d: Properly handle backbuffer_width/_height=0 in wined3d_device_reset. 2013-04-11 12:06:49 +02:00
Stefan Dösinger 6d06b7f5b8 d3d9/tests: Test special fp values in local constants.
The HLSL compiler refuses to use NaN and +/-Inf values in pre-SM4
shaders, claiming that those are unsupported in this shader model.
However, vsa.exe happilly generates them, the required strings in the
shader code are 1.#QNAN and 1.#INF. Native d3d9 happily loads such a
shader.
2013-04-09 16:33:50 +02:00
Sam Edwards 8157aa143b d3d9/tests: Verify window style after exiting fullscreen mode. 2013-04-03 11:33:58 +02:00
Rico Schüller 08e20e9d69 d3d9/tests: Use lower base hexadecimal values. 2013-02-25 13:03:28 +01:00
Francois Gouget ce34094f5f d3d9/tests: CheckDeviceType() may also return D3DERR_NOTAVAILABLE for D3DFMT_X1R5G5B5.
Spice's QXL driver claims to support X1R5G5B5 but then returns
NOTAVAILABLE just like the Windows Standard VGA driver does for R5G6B5
and X8R8G8B8.
2013-02-21 18:03:03 +01:00
Matteo Bruni 25d0d0876d wined3d: Make (wined3d_)surface_depth_blt_fbo handle locations other than SFLAG_INTEXTURE. 2013-02-19 10:39:42 +01:00
Michael Stefaniuc d86ecd4bb4 d3d9: Remove ERR() on HeapAlloc failure for small sizes known at compile time. 2013-02-07 15:48:20 +01:00
Stefan Dösinger ddc868c4a0 d3d9/tests: Add simple DrawRectPatch tests. 2013-01-25 11:31:15 +01:00
Stefan Dösinger 149a85c2e7 d3d: Remove high level patch support.
No Windows driver ever exposed this, and no game uses this. The
only application that used this feature is a DirectX 8 SDK sample.
2013-01-25 11:29:41 +01:00
Stefan Dösinger aaa11492db wined3d: Ignore clears if count = 0 and rects != NULL. 2013-01-23 19:16:32 +01:00
Henri Verbeet 1249976eb6 wined3d: Get rid of the surface_type parameter to wined3d_check_device_format(). 2013-01-17 12:22:01 +01:00
Henri Verbeet ce912d5149 wined3d: Get rid of the surface_type parameter to wined3d_surface_create(). 2013-01-17 12:21:55 +01:00
Stefan Dösinger ab36ab7d11 d3d9/tests: Create a plain DS surface in test_reset_resources.
r200 does not support depth textures.
2013-01-16 20:27:09 +01:00
Henri Verbeet 31e8976910 wined3d: Get rid of the surface_type parameter to wined3d_swapchain_create(). 2013-01-16 12:22:57 +01:00
Stefan Dösinger 4d5c8b6fe7 d3d9/tests: Add a software vertexprocessing buffer discard test. 2013-01-15 16:25:28 +01:00
Stefan Dösinger c57511ce4a d3d9: Return D3D_OK from the palette setters. 2013-01-14 17:29:59 +01:00
Henri Verbeet 3197e36413 d3d9/tests: Merge surface.c into device.c. 2013-01-11 18:14:07 +01:00
Henri Verbeet 0c9713bb65 d3d9/tests: Merge texture.c into device.c. 2013-01-11 18:14:07 +01:00
Henri Verbeet dd9efc9852 d3d9/tests: Merge shader.c into device.c. 2013-01-11 18:14:07 +01:00
Henri Verbeet 5fd8529363 d3d9/tests: Merge query.c into device.c. 2013-01-10 12:30:18 +01:00
Henri Verbeet afca55649d d3d9/tests: Merge buffer.c into device.c. 2013-01-10 12:30:10 +01:00
Henri Verbeet 52a24e8297 d3d9/tests: Merge volume.c into device.c. 2013-01-10 12:30:02 +01:00
Stefan Dösinger f3f172ce81 d3d9: Use dynamic buffers for DrawIndexedPrimitiveUP. 2012-12-19 12:53:23 +01:00
Stefan Dösinger 873603f941 d3d9: Use a dynamic buffer for DrawPrimitiveUP. 2012-12-19 12:53:20 +01:00
Stefan Dösinger aeee527ebd d3d9/tests: Move the clipplane + shader test inside the capability check. 2012-12-06 13:02:11 +01:00
Stefan Dösinger b11e499c0b d3d9/tests: Give the texture transform test a defined colorop. 2012-12-06 13:02:04 +01:00
Stefan Dösinger 320b33e57b d3d9/tests: Skip some texture transform tests if shaders are unsupported. 2012-12-06 13:01:56 +01:00
Henri Verbeet d0d213f7d1 d3d10core: Implement d3d10_device_IAGetIndexBuffer(). 2012-11-21 13:25:57 +01:00
Henri Verbeet 2f307a14f0 d3d9/tests: Add tests for device resets in d3d9ex. 2012-11-20 11:44:36 +01:00
Henri Verbeet 84da62d993 d3d9/tests: Create the d3d9ex object in create_device(). 2012-11-20 11:44:31 +01:00
Henri Verbeet 79f0b4d977 d3d9: Avoid resetting device state for d3d9ex resets. 2012-11-20 11:44:27 +01:00