Commit Graph

1245 Commits

Author SHA1 Message Date
Henri Verbeet ceb4d2595b d3d9/tests: Get rid of the "data2" vertex data array in pretransformed_varying_test(). 2013-11-04 11:05:51 +01:00
Henri Verbeet 88971aa17d d3d9/tests: Get rid of some unused test data in pretransformed_varying_test(). 2013-11-01 10:53:14 +01:00
Henri Verbeet 532f17bce0 d3d9/tests: Fix the expected value for the "blendindices" test in pretransformed_varying_test().
0x00333333 makes much more sense than 0x00000000, and is what most of my
hardware returns. Apparently at least some GF7 cards (still) return
0x00000000, so also accept that as broken().
2013-11-01 10:53:09 +01:00
Henri Verbeet 90bd39c4e3 d3d9/tests: Use color_match() in more places. 2013-10-31 09:58:43 +01:00
Henri Verbeet a17abf8d7d d3d9/tests: Use explicit A calls. 2013-10-30 11:21:32 +01:00
Henri Verbeet 3528393d64 d3d9/tests: Avoid windowsx.h. 2013-10-30 11:21:32 +01:00
Stefan Dösinger 60f62f4d48 d3d9/tests: Give stencil_cull_test its own device.
After drawing a quad with cullmode != none, the r500's Windows driver's
ability to clip clear rectangles to the viewport is permanently broken.
This shows up as a test failure in depth_buffer_test().
2013-10-29 20:07:07 +01:00
Lasse Rasinen eeefed3dd0 d3d9: Update locked_rect only if wined3d_surface_map succeeds. 2013-10-28 19:31:12 +01:00
Stefan Dösinger 9c19266a24 d3d9/tests: Remove the rtpatch test.
It segfaults on Win7 + Nvidia Kepler and apparently returns different
return values on Windows 8. Since this functionality isn't supported on
any HW I doubt games will care.
2013-10-24 19:01:56 +02:00
Henri Verbeet f31d2485be d3d9: Don't mask out internal wined3d usage flags in surface_init(). 2013-10-02 11:05:39 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Stefan Dösinger fe20ee1bc4 d3d9/tests: Add a volume V16U16 test. 2013-09-23 20:32:34 +02:00
Sebastian Lackner 0fb3aaac10 d3d9/tests: Implemented tests for IDirect3DSwapChain9Ex_GetDisplayModeEx. 2013-09-20 17:03:44 +02:00
Michael Müller cf01bb3d2a d3d9/tests: Test if IDirect3DSwapChain9Ex is available with IDirect3D9(Ex). 2013-09-20 17:03:31 +02:00
Michael Müller edad7dea7e d3d9: Partial implementation of IDirect3DSwapChain9Ex. 2013-09-20 17:03:20 +02:00
Henri Verbeet 11ced88a37 d3d9: Avoid CONST. 2013-09-20 11:27:51 +02:00
Stefan Dösinger 708024f786 d3d9/tests: Read the caps from the device. 2013-09-19 19:49:40 +02:00
Stefan Dösinger 2f9d9b5032 d3d9/tests: Test invalid volume lock boxes. 2013-09-18 15:47:16 +02:00
Stefan Dösinger 50d2cdd0ea d3d9/tests: Add tests for block-based volume formats. 2013-09-18 15:47:11 +02:00
Henri Verbeet 674b1e922d d3d9: Avoid LPVOID. 2013-09-13 10:57:05 +02:00
Henri Verbeet e55e24a731 d3d9: Avoid LPCWSTR. 2013-09-13 10:57:03 +02:00
Stefan Dösinger 53741d2bb9 d3d9/tests: D3DCMP_GREATER is broken on r500. 2013-09-12 17:48:51 +02:00
Stefan Dösinger ed50457694 d3d9/tests: Clean up z_range_test a bit. 2013-09-12 17:48:28 +02:00
Henri Verbeet 1a78667862 wined3d: Allow the first render target to be set to NULL.
Note that it still isn't necessarily safe to render in this case, because
there are places where we assume the first render target is always non-NULL in
order to determine e.g. framebuffer dimensions. It's now the responsibility of
the caller to ensure that doesn't happen.
2013-09-12 10:59:18 +02:00
Stefan Dösinger c0a14564d3 d3d9/tests: Actually accept r500 results. 2013-09-10 17:00:59 +02:00
Stefan Dösinger ff14c24dd2 d3d9/tests: Use a plain depth stencil instead of a texture.
r500 does not support anything but AMD's extension depth texture formats
on Windows 7. Plain surfaces work OK with the builtin formats.
2013-09-10 17:00:55 +02:00
Stefan Dösinger b59418d75d d3d9/tests: Test the behavior of failing surface creation calls. 2013-09-10 17:00:46 +02:00
Stefan Dösinger b7b028ca4b d3d9/tests: Test blocked texture creation restrictions. 2013-09-06 17:25:08 +02:00
Stefan Dösinger 80638b6d2f wined3d: Enforce texturing capability format restrictions on resource creation. 2013-09-06 17:25:08 +02:00
Stefan Dösinger 0cb72cdeb5 d3d9/tests: Add a DXT5 volume test. 2013-09-02 18:07:38 +02:00
Stefan Dösinger c1c2f99939 d3d9/tests: Add a volume sRGB test. 2013-08-27 21:30:03 +02:00
Stefan Dösinger 9dcca7ba8a d3d9/tests: Add UpdateTexture tests with volumes. 2013-08-27 21:30:03 +02:00
Stefan Dösinger 82b6c46006 d3d9/tests: Add a volume texture locking test. 2013-08-27 21:30:03 +02:00
Stefan Dösinger ac871305f8 wined3d: Store the mipmap level in the volume. 2013-08-22 20:15:18 +02:00
Henri Verbeet d0c9dbe763 d3d9: Always create textures for surfaces. 2013-08-20 11:50:34 +02:00
Matteo Bruni e2cf98eb76 wined3d: Implement special fog behavior for orthogonal projection matrices. 2013-07-24 11:09:31 -05:00
Henri Verbeet c57913babb d3d9/tests: Make shader bytecode static const. 2013-07-01 19:51:23 +02:00
Matteo Bruni 0141b20cee d3d9/tests: Improve cnd instruction test. 2013-06-26 18:45:41 +02:00
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