Commit Graph

1466 Commits

Author SHA1 Message Date
Stefan Dösinger 28a9d6324a d3d9/tests: Extend the FPU setup test.
Games created by GameMaker modify the FPU control word to enable
division by zero exceptions. The game Risk of Rain, which is written
with GameMaker, furthermore sets fogstart == fogend, which triggers an
exception when the GL driver attempts to calculate 1 / (fogend -
fogstart). This test adds some evidence that we are not supposed to
temporarily restore the FPU CW if D3DCREATE_FPU_PRESERVE is used.
2015-02-27 21:53:33 +09:00
Matteo Bruni d423e06223 d3d9/tests: Move a Present out of the loops in fog_with_shader_test(). 2015-02-20 22:53:23 +09:00
Matteo Bruni acbb387753 d3d9/tests: Test upload of user memory textures. 2015-02-20 22:53:19 +09:00
Matteo Bruni 2aed2c3a15 d3d9/tests: Allow more alternative results in the ATI1N test. 2015-02-19 17:51:20 +09:00
Stefan Dösinger f75d1b0c2f d3d/tests: Geforce8+ GPUs abs() table fog. 2015-02-13 22:37:07 +09:00
Stefan Dösinger fd218b93d0 d3d9/tests: Test rhw depth clip with z enabled but no depth buffer set. 2015-02-12 22:19:48 +09:00
Stefan Dösinger 3b2c642163 d3d9/tests: Test rhw table fog z vs rhw.
The Z disable part of the test is technically not necessary because the
fog coordinate is written before applying the projection matrix. I've
nevertheless included it because this is not immediately obvious and fog
is the only place where the vertex Z matters if depth test and depth
clipping are disabled.
2015-02-12 22:19:02 +09:00
Matteo Bruni 30f4d91906 d3d9/tests: Add a test for POSITIONi shader input/outputs. 2015-02-09 22:05:53 +09:00
Stefan Dösinger 63d52c7317 d3d/tests: Show that WM_SYSCOMMAND(SC_RESTORE) is delivered only once. 2015-01-28 11:06:56 +01:00
Stefan Dösinger 3ef1d6bcd9 wined3d: Pass WM_SYSCOMMAND(SC_RESTORE) to DefWindowProc. 2015-01-28 11:06:48 +01:00
Axel Davy b83825509e d3d9/tests: Fix test_3dc_formats getPixelColor check.
getPixelColor should be called before Present, because the device
swapchain was created with discard mode.
2015-01-08 14:03:15 +01:00
Axel Davy fc84368f87 d3d9/tests: Fix volume_dxt5_test getPixelColor check.
getPixelColor should be called before Present, because the device
swapchain was created with discard mode.
2015-01-08 14:03:06 +01:00
Matteo Bruni 6f89df2fb4 d3d9/tests: Remove a couple duplicate lines. 2015-01-06 12:34:07 +01:00
Henri Verbeet ea534c9ab4 wined3d: Allow initial texture contents to be specified with wined3d_texture_create(). 2015-01-05 20:15:35 +01:00
Michael Stefaniuc 51406b471a d3d9: Don't assert for shaders with the wrong vtbl. 2014-12-16 11:39:40 +01:00
Henri Verbeet 3b3b74510b d3d9: Calculate texture levels in d3d9 instead of wined3d. 2014-12-10 19:32:15 +01:00
Stefan Dösinger 19c860499a wined3d: Filter messages generated by focus handling. 2014-12-08 14:18:43 +01:00
Stefan Dösinger f217636e2d d3d9/test: Test WM_SYSCOMMAND handling. 2014-12-08 14:17:22 +01:00
Stefan Dösinger 0c55b9d2b3 d3d9/tests: Test focus loss message filtering in d3d9ex. 2014-12-08 14:17:13 +01:00
Stefan Dösinger 36553d862b d3d9/tests: Test focus loss message filtering. 2014-12-08 14:17:09 +01:00
Stefan Dösinger aa9bc4c509 d3d9: Refuse to reset a lost device. 2014-12-02 13:05:48 +01:00
Stefan Dösinger 871fc4a38f d3d/tests: Rename fog_interpolation_test for consistency. 2014-11-27 13:27:24 +01:00
Stefan Dösinger 96519f9be9 d3d/tests: Table fog does not abs the fog coordinate. 2014-11-27 13:27:21 +01:00
Stefan Dösinger cfd741c6b6 d3d/tests: Show that the vfog abs is not a property of D3DFOG_LINEAR. 2014-11-27 13:27:17 +01:00
Stefan Dösinger c9b10beb36 wined3d: Vertex fog uses the absolute eye position z. 2014-11-27 13:27:13 +01:00
Alexandre Julliard 099bc21df7 d3d9/tests: Don't require a WM_MOVE message. 2014-11-26 20:40:49 +01:00
Stefan Dösinger abf44708a4 d3d9/tests: Fix test_cursor(). 2014-11-25 19:49:42 +01:00
Stefan Dösinger 8b6a7a9c02 d3d9: Only one fullscreen swapchain is allowed. 2014-11-25 19:49:30 +01:00
Stefan Dösinger f4d520d6e2 wined3d: Don't minimize hidden windows. 2014-11-20 22:31:26 +09:00
Stefan Dösinger 09a91231a6 wined3d: Set the device window size on focus window activation. 2014-11-20 22:31:13 +09:00
Stefan Dösinger f6dde70624 wined3d: Restore the display mode on focus change. 2014-11-19 17:56:44 +09:00
Stefan Dösinger 1851e2618b d3d9/tests: Test mode restoration on focus loss. 2014-11-19 16:41:03 +09:00
Stefan Dösinger ef60604d44 d3d9/tests: Test style changes on focus loss. 2014-11-18 14:14:37 +09:00
Stefan Dösinger 9bcd9722f1 d3d9/tests: Test messages on focus loss. 2014-11-18 14:14:32 +09:00
Henri Verbeet 1c116c3527 d3d10core/tests: Port alpha_test() to d3d10core. 2014-11-17 19:30:40 +09:00
Stefan Dösinger 32450ee61d d3d9/tests: Allow passing a resolution to reset_device in d3d9ex. 2014-11-12 20:07:56 +09:00
Stefan Dösinger 38548df04b d3d/tests: Test fog interpolation. 2014-11-12 20:07:56 +09:00
Stefan Dösinger 6ad7d50958 d3d9/tests: Allow passing a resolution to reset_device. 2014-11-11 21:57:27 +09:00
Stefan Dösinger 5e369853f1 d3d9/tests: Fix some wndproc comparison error messages. 2014-11-11 21:57:19 +09:00
Stefan Dösinger 7fb22f502e d3d9/tests: The device restores the mode settings from the registry. 2014-11-07 14:04:00 +09:00
Stefan Dösinger 40c2fc215d d3d9/tests: Check if the current display settings match the registry settings. 2014-11-04 21:16:13 +09:00
Matteo Bruni d690aaeeb6 d3d9/tests: Add an ATI1N entry to the test_volume_blocks test. 2014-11-04 21:15:59 +09:00
Matteo Bruni da54670a94 d3d9/tests: Add a test for ATI1N and ATI2N texture formats. 2014-11-04 21:15:58 +09:00
Henri Verbeet 875a7c5426 wined3d: Use the input signature to setup SM4 pixel shader input semantics. 2014-11-04 16:54:35 +09:00
Stefan Dösinger 6334bf09b7 d3d9/tests: Skip unsupported resources in test_resource_type. 2014-10-23 18:48:20 +09:00
Stefan Dösinger 8633f7f123 d3d9/tests: Use create_device for test_swvp_buffer. 2014-10-22 21:01:39 +09:00
Stefan Dösinger d5b2e8af39 d3d9/tests: Use create_device in test_fpu_setup (v2). 2014-10-22 21:01:35 +09:00
Stefan Dösinger ee0733863e d3d9/tests: Add style and size tests for D3DCREATE_NOWINDOWCHANGES. 2014-10-21 18:47:42 +09:00
Stefan Dösinger 80cbd276e0 d3d9/tests: Port test_window_style to d3d9ex. 2014-10-17 15:50:11 +09:00
Stefan Dösinger 5c33ffaf67 d3d9/tests: Port wndproc tests to d3d9ex. 2014-10-17 15:50:04 +09:00