Commit Graph

157 Commits

Author SHA1 Message Date
Henri Verbeet a8248847f5 d3d8/tests: Use a separate device for test_sanity(). 2014-04-22 11:26:26 +02:00
Henri Verbeet 25d2de7b93 d3d8/tests: Use a separate device for depth_clamp_test(). 2014-04-22 11:26:24 +02:00
Henri Verbeet 9994cf8aec d3d8/tests: Use a separate device for lighting_test(). 2014-04-21 11:09:57 +02:00
Henri Verbeet 00630f67a4 d3d8/tests: Use a separate device for clear_test(). 2014-04-21 11:09:56 +02:00
Henri Verbeet 322e6dd587 d3d8/tests: Use a separate device for fog_test(). 2014-04-21 11:09:55 +02:00
Henri Verbeet 2428049753 d3d8/tests: Use a separate device for z_range_test(). 2014-04-21 11:09:54 +02:00
Henri Verbeet f8bd052366 d3d8/tests: Use a separate device for offscreen_test(). 2014-04-21 11:09:54 +02:00
Henri Verbeet 18ba1bce71 d3d8/tests: Use a separate device for alpha_test(). 2014-04-18 10:44:49 +02:00
Henri Verbeet b2ab682234 d3d8/tests: Use a separate device for test_scalar_instructions(). 2014-04-18 10:44:47 +02:00
Henri Verbeet f693254d2c d3d8/tests: Use a separate device for fog_with_shader_test(). 2014-04-18 10:44:45 +02:00
Henri Verbeet af8cd4a7af d3d8/tests: Use a separate device for cnd_test(). 2014-04-18 10:44:43 +02:00
Henri Verbeet 9166b74039 d3d8/tests: Use a separate device for p8_texture_test(). 2014-04-18 10:44:39 +02:00
Henri Verbeet f719ef3858 d3d8/tests: Use a separate device for texop_test(). 2014-04-17 10:44:34 +02:00
Henri Verbeet 8cd5f7fdca d3d8/tests: Use a separate device for depth_buffer_test(). 2014-04-17 10:44:32 +02:00
Henri Verbeet f798db55c8 d3d8/tests: Use a separate device for depth_buffer2_test(). 2014-04-17 10:44:30 +02:00
Henri Verbeet e43d7c4f8a d3d8/tests: Use a separate device for intz_test(). 2014-04-17 10:44:28 +02:00
Henri Verbeet 527882d4e2 d3d8/tests: Use a separate device for shadow_test(). 2014-04-17 10:44:26 +02:00
Henri Verbeet b2d8573848 d3d8/tests: Use a separate device for multisample_copy_rects_test(). 2014-04-16 10:53:56 +02:00
Henri Verbeet 36f5debb88 d3d8/tests: Use a separate device for zenable_test(). 2014-04-16 10:53:52 +02:00
Henri Verbeet 46a7517fed d3d8/tests: Use a separate device for resz_test(). 2014-04-16 10:53:48 +02:00
Henri Verbeet b17ff75649 d3d8/tests: Use a separate device for fog_special_test(). 2014-04-16 10:53:43 +02:00
Henri Verbeet d93cbeca51 d3d8/tests: Use a separate device for volume_dxt5_test(). 2014-04-16 10:53:39 +02:00
Henri Verbeet 554871ea81 d3d8/tests: Use a separate device for volume_v16u16_test(). 2014-04-15 21:03:54 +02:00
Henri Verbeet 29680b685a d3d8/tests: Use a separate device for add_dirty_rect_test(). 2014-04-15 21:03:54 +02:00
Henri Verbeet ef5e4c794d d3d8/tests: Make the sanity test a normal test. 2014-04-15 21:03:54 +02:00
Henri Verbeet 54029915d5 d3d8/tests: Properly declare matrices. 2014-04-14 20:19:01 +02:00
Henri Verbeet 3a87b3a6db d3d8/tests: Get rid of some pointless BeginScene() checks. 2014-04-14 20:19:01 +02:00
Henri Verbeet b22ee99fe9 d3d8/tests: Accept some broken results in test_scalar_instructions(). 2014-02-13 17:52:13 +01:00
Henri Verbeet 56d1225ec2 d3d8/tests: Direct3DCreate8() is always available if we have d3d8. 2014-01-29 20:26:06 +01:00
Henri Verbeet 27dc41d0dc wined3d: Fix the source swizzle for WINED3DSIH_LOG and WINED3DSIH_LOGP. 2013-12-12 12:08:09 +01:00
Henri Verbeet c8852c3ee3 wined3d: Fix the source swizzle for WINED3DSIH_EXPP. 2013-12-11 15:15:01 +01:00
Henri Verbeet 6e9acca1f4 wined3d: Fix the source swizzle for WINED3DSIH_EXP. 2013-12-11 15:14:58 +01:00
Henri Verbeet b5742fb950 d3d8/tests: Add a test for instructions taking a scalar source. 2013-12-11 15:14:55 +01:00
Stefan Dösinger f65f951cba d3d8/tests: Read the result before swapping in volume_v16u16_test. 2013-11-25 17:42:56 +01:00
Stefan Dösinger de60681b86 d3d8/tests: Add a test for AddDirtyRect. 2013-11-21 19:39:02 +01:00
Henri Verbeet 4eb3ce8568 d3d8/tests: Use color_match() in p8_texture_test(). 2013-11-01 10:53:04 +01:00
Henri Verbeet 45a1aae0a1 d3d8/tests: Use explicit A calls. 2013-10-29 10:34:18 +01:00
Stefan Dösinger 9db01c16ac d3d8/tests: Port z_range_test to d3d8. 2013-10-25 17:18:48 +02:00
Stefan Dösinger 993c977890 d3d8/tests: Add a volume V16U16 test. 2013-09-23 20:32:35 +02:00
Matteo Bruni bcecdbda88 d3d8/tests: Add cnd instruction test. 2013-09-03 16:58:28 +02:00
Stefan Dösinger 6c1007db1e d3d8/tests: Add a DXT5 volume test. 2013-09-02 18:07:40 +02:00
Alexandre Julliard 32d8e9cb96 d3d8/tests: Remove a todo from a test that succeeds. 2013-07-29 15:52:09 +02:00
Henri Verbeet 00f41ac4e0 d3d8/tests: Make shader bytecode static const. 2013-07-01 19:51:23 +02:00
Stefan Dösinger 5f2f2ae9c8 d3d8/tests: Add a test for fog_start == fog_end. 2013-06-19 20:09:53 +02:00
Stefan Dösinger aaa11492db wined3d: Ignore clears if count = 0 and rects != NULL. 2013-01-23 19:16:32 +01:00
Henri Verbeet 09443f14e7 wined3d: Enable "AlwaysOffscreen" by default. 2012-07-19 15:43:59 +02:00
Henri Verbeet 93afc43ee9 d3d8/tests: Fix a couple of return value checks. 2012-03-13 10:26:44 +01:00
Matteo Bruni 9f4eda2b8d d3d8/tests: Port fog_with_shader_test() from d3d9 tests. 2012-03-09 17:26:16 +01:00
Stefan Dösinger 3c1d5f6c5d d3d8/tests: Port the depth blit test to d3d8. 2012-03-09 11:28:57 +01:00
Henri Verbeet 4e9cf00097 d3d8/tests: Add tests for z-clipping with D3DRS_ZENABLE disabled. 2012-02-24 09:55:59 +01:00
Matteo Bruni 58a171d1de d3d8/tests: Add some RESZ tests. 2012-01-19 17:08:11 +01:00
Matteo Bruni 922f4696cf d3d8/tests: Test a multisampled -> not multisampled depth buffer copy. 2012-01-19 17:08:10 +01:00
Matteo Bruni 5604c7ed99 d3d8/tests: Add more INTZ tests. 2012-01-13 17:34:29 +01:00
Henri Verbeet fd1afd24f4 d3d8/tests: Add a small test for multisampled CopyRects(). 2011-10-20 11:03:07 +02:00
Stefan Dösinger 8b57a585ad d3d8/test: Add slop to some fog tests. 2011-09-16 17:23:10 +02:00
Matteo Bruni 332a2c05cb d3d8/tests: Add a couple of fog tests. 2011-07-25 22:30:40 +02:00
Matteo Bruni 8e522b7fb8 d3d8/tests: Fix some error messages. 2011-07-25 22:30:22 +02:00
Matteo Bruni 9475065273 d3d8/tests: Rename a variable. 2011-07-25 22:30:17 +02:00
Henri Verbeet 708d94212b wined3d: Don't clamp vertex depth values.
Since we report D3DPMISCCAPS_CLIPTLVERTS.
2011-06-06 16:18:33 +02:00
Stefan Dösinger d8224118ab d3d: Make the INTZ test more reliable. 2011-05-25 12:23:24 +02:00
Henri Verbeet 022db68080 d3d8/tests: Fix the depth clamping test. 2011-05-24 11:54:45 +02:00
Stefan Dösinger 6a43986e12 d3d8/tests: Use float literals. 2011-05-19 10:08:42 +02:00
Henri Verbeet 826c91c5e0 d3d8/tests: Add a test for partial depth buffer copies. 2011-04-05 11:13:51 +02:00
Henri Verbeet d2f23ff61e d3d8/tests: Fix some failure messages. 2010-11-17 14:01:15 +01:00
Henri Verbeet b93814e959 d3d8/tests: Add a test for INTZ. 2010-11-05 17:15:36 +01:00
Henri Verbeet fabc7ecd97 d3d8/tests: Add a shadow sampler test. 2010-05-17 13:19:59 +02:00
Henri Verbeet 51ccd69e7c d3d8/tests: Add some depth buffer tests. 2010-04-12 11:33:24 +02:00
Henri Verbeet ae623815ee d3d8/tests: Clear with colors that are more obviously different from the expected value in test_rcp_rsq(). 2010-04-06 11:48:39 +02:00
Henri Verbeet 60a3625328 d3d8/tests: Use color_match() in test_rcp_rsq(). 2010-04-06 11:48:35 +02:00
Henri Verbeet 69861cf873 wined3d: Get rid of the depth range hack. 2010-01-27 11:16:07 +01:00
Henri Verbeet 5f68a2407b d3d8: Add depth clamp tests. 2010-01-27 11:15:54 +01:00
Stefan Dösinger e6dcf31b28 d3d8: Run the visual tests in a window. 2009-11-09 19:59:15 +01:00
Stefan Dösinger 18c1d6033a d3d8: Read the backbuffer in the visual test. 2009-11-09 19:59:07 +01:00
Henri Verbeet ec5c417019 d3d8/tests: Check some more return values (LLVM/Clang). 2009-10-16 13:37:05 +02:00
Henri Verbeet 7d3beb6b79 d3d: Add a test for releasing the device after destroying the window. 2009-06-29 12:30:32 +02:00
Paul Vriens 91e306579b d3d8/tests: Fix some tests (logical || with non-zero constant). 2009-06-19 13:52:32 +02:00
Henri Verbeet 57d971121a d3d8: Fix some sign compare warnings. 2009-03-10 12:07:41 +01:00
Paul Vriens 1dc4d5caae d3d8/tests: Use win_skip() and skip() where appropriate. 2009-03-02 12:29:01 +01:00
Ge van Geldorp ae79b02ca6 d3d8/tests: Make tests pass on a W2K8 VM. 2009-01-27 11:30:03 +01:00
Henri Verbeet 664b58dc6f d3d: Make sure the device is properly released when exiting the tests. 2008-12-29 12:16:35 +01:00
Huw Davies 855ce5bd86 d3d8/tests: Skip tests if we can't create the D3D8 object. 2008-12-04 12:51:18 +01:00
Alexandre Julliard 7f327237bf Convert remaining source files to utf-8. 2008-10-18 19:23:08 +02:00
Alexandre Julliard f98157f601 d3d8: Don't depend on the dxerr8 static library in the tests. 2008-07-08 17:51:45 +02:00
H. Verbeet 873c0afb82 d3d: Allow more imprecision in the texop test. 2008-06-25 20:29:05 +02:00
H. Verbeet 3546b8bbfc d3d8: Use color_match() in alpha_test().
Also fixes some of the messages.
2008-06-24 11:48:32 +02:00
Huw Davies a52224a48b d3d8: Fix typo in test. 2008-06-20 11:19:34 +02:00
Dmitry Timoshkov 92dfc02b01 d3d8: Avoid a not needed address-of operator. 2008-06-06 10:29:14 +02:00
H. Verbeet 2f6fbdec8c d3d8: Test our texop implementation. 2008-05-27 12:04:29 +02:00
H. Verbeet 14b13d0687 d3d: Use an alpha capable backbuffer format in the visual tests. 2008-05-27 12:04:05 +02:00
Alexander Dorofeyev d6ba069d9e wined3d: Improve detection of device palette change. 2008-04-03 11:31:57 +02:00
Austin English 4777f26d61 Spelling fixes. 2008-03-27 11:10:07 +01:00
Alexander Dorofeyev 785e6fa61f d3d8/tests: Cover one more case in p8_texture_test.
Test if a P8 texture gets properly updated if there was a palette change while 
this texture wasn't bound to any stage.
2008-03-10 12:54:54 +01:00
Alexander Dorofeyev 57d506f654 d3d8/tests: Add a P8 texture test. 2008-02-25 12:38:37 +01:00
Stefan Dösinger f700cbe74b wined3d: Add an alpha blending test. 2007-12-07 16:26:43 +01:00
Stefan Dösinger f0c479d6f7 d3d8: Destroy the window after the visual test. 2007-11-20 13:10:51 +01:00
Francois Gouget a9abf580b5 d3d8/tests: DXGetErrorString8() prints 'Unknown' for too many hresults which makes diagnosis impossible. So print the raw code instead. 2007-08-10 11:55:58 +02:00
Stefan Dösinger 2d15cb8b27 d3d: Add a simple offscreen rendering test. 2007-08-08 15:32:00 +02:00
Stefan Dösinger 573db35bf6 d3d8: Skip tests if d3d is not supported. 2007-08-06 12:05:17 +02:00
Stefan Dösinger a1f83aae8e wined3d: rsq and rcp use the .w component if no swizzle is given. 2007-07-03 12:29:34 +02:00
Stefan Dösinger 078523f73e wined3d: Present does not clear the depth stencil. 2007-06-14 13:22:19 +02:00