Commit Graph

351 Commits

Author SHA1 Message Date
Stefan Dösinger 402ffb9c60 d3d10core/tests: Test swapchain buffer cycling.
Signed-off-by: Stefan Dösinger <stefandoesinger@gmx.at>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-01 01:50:12 +09:00
Charles Davis 65999e26b2 d3d10core/tests: Silence absolute value warnings (Clang).
Signed-off-by: Charles Davis <cdavis5x@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-24 10:31:47 +09:00
Matteo Bruni 5571158ed5 d3d10core/tests: Test relative addressing in constant buffers.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-18 01:17:25 +09:00
Józef Kucia 88567dfe80 d3d10core/tests: Add test for sRGB textures.
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>
2016-02-09 00:37:25 +09:00
Matteo Bruni 054ca9d7ca d3d10core/tests: Test the creation of textures with invalid multisample settings.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-05 20:35:12 +09:00
Matteo Bruni be669c32fe d3d10core/tests: Add a test for CheckMultisampleQualityLevels().
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-05 20:35:10 +09:00
Matteo Bruni 3d95b4c79d d3d11: Implement d3d10_device_CheckMultisampleQualityLevels().
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-05 20:35:03 +09:00
Józef Kucia 70c081796f d3d10core/tests: Add test for SM4 sample_b instruction.
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>
2016-02-03 21:57:11 +09:00
Józef Kucia 97fb21c592 d3d10core/tests: Add test for integer textures.
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>
2016-01-26 22:32:41 +09:00
Józef Kucia 50a8d3f6d2 d3d10core/tests: Port test_copy_subresource_region() from d3d11.
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>
2016-01-22 01:26:18 +09:00
Józef Kucia f26e13f38f d3d10core/tests: Extend test for ID3D10Device::UpdateSubresource().
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>
2016-01-20 21:18:48 +09:00
Józef Kucia dd294410bb d3d10core/tests: Add test for SM4 resinfo instruction.
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>
2016-01-19 00:11:03 +09:00
Stefan Dösinger c447e691b9 d3d10core/tests: Viewport properties are integers.
Shuts up an MSVC warning. Note that in d3d11 those members are FLOATs.

Signed-off-by: Stefan Dösinger <stefandoesinger@gmx.at>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-12 16:03:24 +09:00
Stefan Dösinger f37472ae21 d3d10core/tests: Multisampled render targets are zeroed on creation.
Signed-off-by: Stefan Dösinger <stefandoesinger@gmx.at>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-12 16:03:13 +09:00
Józef Kucia a8f9d0e1fb d3d10core/tests: Add test for block-compressed textures.
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>
2016-01-08 21:36:28 +09:00
Józef Kucia 68ba8f9037 d3d10core/tests: Add test for SM4 ld instruction.
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>
2016-01-06 18:08:37 +01:00
Józef Kucia be820ecc25 d3d10core/tests: Add test for SM4 sample_l instruction.
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>
2016-01-05 11:51:13 +01:00
Francois Gouget 413c6f60cf Assorted spelling fixes.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-02 12:59:52 +09:00
Alistair Leslie-Hughes 5269fdce2c d3d10core/tests: Add test for NULL blend factor in OMSetBlendState().
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-26 00:12:53 +09:00
Józef Kucia c9ea266c01 d3d10core/tests: Avoid multiple readbacks of backbuffer texture.
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-11-12 22:17:02 +09:00
Józef Kucia 773e3fc993 d3d10core/tests: Fix typo.
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-11-10 19:42:07 +09:00
Józef Kucia 2728569d93 d3d10core/tests: Extend test_create_predicate().
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-10-27 21:42:39 +09:00
Józef Kucia 8b0b82a580 d3d/tests: Check that device implements IDXGIDevice1.
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-10-26 23:03:37 +09:00
Józef Kucia 33127703bf d3d10core/tests: Port test_device_interfaces() from d3d11.
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-10-22 17:32:36 +09:00
Józef Kucia dcdef7effc d3d10core/tests: Check that blend states implement ID3D10BlendState1.
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-10-21 01:04:34 +09:00
Józef Kucia 0ce1d59a80 d3d10core/tests: Check that shader resource views implement ID3D10ShaderResourceView1.
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-10-20 00:30:39 +09:00
Józef Kucia 4c9fd0286f d3d10core/tests: Test conversion from D3D10_SAMPLER_DESC to D3D11_SAMPLER_DESC.
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-10-13 23:35:21 +09:00
Józef Kucia 5f2e825b53 d3d10core/tests: Use full name of structure field in ok() messages.
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-10-09 20:55:44 +09:00
Józef Kucia a80902084f d3d10core/tests: Test conversion from D3D10_BLEND_DESC to D3D11_BLEND_DESC.
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-10-08 21:01:09 +09:00
Józef Kucia b27efb4bdf d3d10core/tests: Add test for geometry shader to test_create_shaders().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-06 19:26:22 +09:00
Józef Kucia 44293175a3 d3d10core/tests: Check that shaders implement d3d11 interfaces.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-06 19:26:18 +09:00
Józef Kucia 17ad42fcf5 d3d10core/tests: Check that private data is shared between d3d10 and d3d11 interfaces.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-06 19:24:52 +09:00
Józef Kucia 5b0fb73c1b d3d10core/tests: Use 'd3d10core_test' as window name in test_scissor().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
2015-10-06 19:23:54 +09:00
Józef Kucia 6d916dc3e5 d3d10core/tests: Check that shader resource view implements ID3D11ShaderResourceView. 2015-09-14 22:30:50 +09:00
Józef Kucia c32def6c41 d3d10core/tests: Check that render target view implements ID3D11RenderTargetView. 2015-09-14 22:30:48 +09:00
Józef Kucia fbf7b84d10 d3d10core/tests: Port test_depthstencil_view_interfaces() from d3d11. 2015-09-14 22:30:45 +09:00
Józef Kucia d7af6664ac d3d10core/tests: Port test_buffer_interfaces() from d3d11. 2015-09-07 20:07:59 +09:00
Józef Kucia f9ecce38ef d3d10core/tests: Port test_texture2d_interfaces() from d3d11. 2015-09-01 20:59:17 +09:00
Józef Kucia adaf08d178 d3d10core/tests: Use win_skip() instead of skip(). 2015-08-31 20:13:27 +09:00
Henri Verbeet 662cfd4144 d3d10core: Get rid of some redundant includes.
d3d11.h includes d3d10_1.h, which includes d3d10.h.
2015-08-25 21:13:24 +09:00
Józef Kucia 66b2d96a69 d3d10core/tests: Add test for device feature level. 2015-08-24 20:46:09 +09:00
Henri Verbeet 62a02a047f d3d10core: Implement d3d10_device_UpdateSubresource(). 2015-08-18 18:28:47 +09:00
Józef Kucia 96322fbefc d3d10core/tests: Fix copy-paste mistake. 2015-08-13 14:58:56 +09:00
Henri Verbeet 7f416ff339 wined3d: Validate "data" in buffer_init(). 2015-07-31 12:08:53 +02:00
Henri Verbeet 62454ae71d wined3d: Validate "data" in wined3d_texture_upload_data(). 2015-07-31 12:08:49 +02:00
Henri Verbeet f35cc97911 d3d10core/tests: Port the d3d9 vPos test to d3d10. 2015-03-31 18:49:28 +09:00
Henri Verbeet e72845e648 d3d10core/tests: Add a test for D3D10_APPEND_ALIGNED_ELEMENT. 2015-03-24 17:41:20 +09:00
Henri Verbeet df16cb2cfe d3d10core/tests: Fix a typo in shader source in test_clear_state(). 2015-03-20 21:32:06 +09:00
Henri Verbeet 21da7be665 d3d10core: Implement d3d10_texture2d_SetPrivateDataInterface(). 2015-02-24 12:36:00 +09:00
Henri Verbeet c2e6a7d0b1 d3d10core: Implement d3d10_texture2d_SetPrivateData(). 2015-02-24 12:35:57 +09:00
Henri Verbeet 34f4c407b2 d3d10core: Implement d3d10_device_GetPrivateData(). 2015-02-24 12:35:54 +09:00
Henri Verbeet 7f7844a79d d3d10core: Implement d3d10_device_SetPrivateDataInterface(). 2015-02-24 12:35:51 +09:00
Henri Verbeet c9fd72d80c d3d10core: Implement d3d10_device_SetPrivateData(). 2015-02-24 12:35:46 +09:00
Henri Verbeet 6b4623008f d3d10core/tests: Add a basic texturing test. 2015-01-19 14:31:43 +01:00
Henri Verbeet 1c116c3527 d3d10core/tests: Port alpha_test() to d3d10core. 2014-11-17 19:30:40 +09:00
Henri Verbeet cab0d8ca31 d3d10core/tests: Add a test for ID3D10Device_ClearState(). 2014-11-03 20:31:41 +09:00
Henri Verbeet 686546b6d3 d3d10core: Create wined3d queries for queries. 2014-09-19 10:49:02 +02:00
Henri Verbeet d276bde09c d3d10core/tests: Add a basic scissoring test. 2014-09-01 20:26:23 +02:00
Henri Verbeet 8d23f13b16 d3d10core: Implement d3d10_device_GetDeviceRemovedReason(). 2014-06-13 10:12:06 +02:00
Henri Verbeet f38b36ee33 d3d10core: Implement d3d10_query_GetDevice(). 2014-02-17 11:32:09 +01:00
Henri Verbeet 569a2e758a d3d10core: Implement d3d10_rasterizer_state_GetDevice(). 2014-02-17 11:32:05 +01:00
Henri Verbeet c7fb7ba539 d3d10core: Implement d3d10_depthstencil_state_GetDevice(). 2014-02-17 11:32:01 +01:00
Henri Verbeet dbc4bcd69d d3d10core: Implement d3d10_blend_state_GetDevice(). 2014-02-17 11:31:58 +01:00
Henri Verbeet 3363d49236 d3d10core: Implement d3d10_sampler_state_GetDevice(). 2014-02-17 11:31:54 +01:00
Henri Verbeet e4eee4ddb9 d3d10core: Implement d3d10_pixel_shader_GetDevice(). 2014-02-13 17:52:14 +01:00
Henri Verbeet 687c1c7358 d3d10core: Implement d3d10_vertex_shader_GetDevice(). 2014-02-13 17:52:14 +01:00
Henri Verbeet 539a579d54 d3d10core: Implement d3d10_shader_resource_view_GetDevice(). 2014-02-13 17:52:13 +01:00
Henri Verbeet 40686f48cb d3d10core: Implement d3d10_rendertarget_view_GetDevice(). 2014-02-13 17:52:13 +01:00
Henri Verbeet 01d435288f d3d10core: Implement d3d10_depthstencil_view_GetDevice(). 2014-02-13 17:52:13 +01:00
Henri Verbeet 82fc81b644 d3d10core: Implement d3d10_buffer_GetDevice(). 2014-02-13 17:52:13 +01:00
Henri Verbeet 6e3619c42b d3d10core: Implement d3d10_texture3d_GetDevice(). 2014-02-13 17:52:13 +01:00
Henri Verbeet 387f65baf8 d3d10core: Implement d3d10_texture2d_GetDevice(). 2014-02-13 17:52:13 +01:00
Henri Verbeet 2be432b4df dxgi/tests: Also test for ID3D10Device1 and ID3D11Device in test_device_interfaces(). 2014-02-11 19:19:14 +01:00
Henri Verbeet 80ce3b319a d3d10core/tests: Use D3D10CreateDevice() to create a device. 2014-01-27 17:39:47 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Henri Verbeet c97c51120c d3d10core/tests: Add a small test for ID3D10Device_CreatePredicate(). 2013-05-31 11:57:48 +02:00
Henri Verbeet 8e9f0af2a9 d3d10core/tests: Add a small test for ID3D10Device_CreateRasterizerState(). 2013-01-02 13:15:16 +01:00
Henri Verbeet 93700423e8 d3d10core/tests: Add a small test for ID3D10Device_CreateDepthStencilState(). 2012-12-14 11:49:31 +01:00
Henri Verbeet 3cd98e15fa d3d10core/tests: Add a small test for ID3D10Device_CreateBlendState(). 2012-12-13 11:21:33 +01:00
Henri Verbeet 4ec1c78ec4 d3d10core/tests: Add a small test for ID3D10Device_CreateSamplerState(). 2012-12-12 11:59:17 +01:00
Henri Verbeet 7c722bea28 d3d10core/tests: Use the correct enum in test_create_shader_resource_view(). 2012-11-28 14:42:35 +01:00
Henri Verbeet be65d6ab3c d3d10core/tests: Don't reuse the device. 2012-11-28 14:42:22 +01:00
Henri Verbeet bf23df7980 d3d10core/tests: Add a small test for ID3D10Device_CreateShaderResourceView(). 2012-09-14 15:43:16 +02:00
Henri Verbeet 9235336894 d3d10core/tests: Add a small test for ID3D10Device_CreateDepthStencilView(). 2012-09-13 10:23:05 +02:00
Henri Verbeet 129ad9cbf5 d3d10core: Update the MipLevels field after texture creation. 2012-09-06 15:45:31 +02:00
Jacek Caban 57074556d2 d3d10core: Use proper helpers for iface calls. 2012-08-28 14:41:11 +02:00
Matteo Bruni 7c65ab91ad d3d10core/tests: Add some shader creation tests. 2011-09-26 17:57:57 +02:00
Henri Verbeet bbc7b5ac20 d3d10core: Try to create a software adapter when no regular adapters are found as well. 2010-10-25 14:29:42 +02:00
Henri Verbeet 0d4e0bc9ba d3d10core: Add a stub ID3D10Texture3D implementation. 2010-10-14 17:54:52 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Paul Vriens 7cc429312e d3d10core/tests: Fix a test failure when no adapters are present. 2010-02-01 12:49:37 +01:00
Henri Verbeet efbd38ae84 dxgi: The "unknown0" parameter to DXGID3D10CreateDevice() is a pointer.
Fixes stack corruption in the 64-bit tests. Thanks to Paul Vriens for debugging this.
2009-12-08 12:33:43 +01:00
Francois Gouget 64e419ab6c d3d10core/tests: Fix compilation on systems that don't support nameless unions. 2009-08-31 12:41:37 +02:00
Henri Verbeet 7742fe283a d3d10core: Add a small test for CreateRenderTargetView(). 2009-01-26 14:57:22 +01:00
Henri Verbeet c9f116a56f dxgi: Implement IDXGIDevice::CreateSurface(). 2009-01-19 13:36:25 +01:00
Henri Verbeet 558cc750c4 d3d10core: Add a small test for CreateTexture2D(). 2009-01-16 13:29:44 +01:00
Huw Davies 180f74afcd d3d10core/tests: Skip the tests if we can't create a DXGI factory. 2008-12-04 12:51:48 +01:00
Henri Verbeet 1dad75955d d3d10core: Add a test for D3D10CoreCreateDevice(). 2008-11-18 11:54:31 +01:00