Commit Graph

449 Commits

Author SHA1 Message Date
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
Józef Kucia a9cb14dd71 d3d11: Move d3d10core to d3d11. 2015-08-21 21:49:43 +09:00
Józef Kucia 2d13e0f10c d3d11: Add ID3D11Device stub interface. 2015-08-21 21:48:31 +09:00
Józef Kucia 1cb7878beb d3d10core: Do not use '\n' in the middle of TRACEs. 2015-08-18 18:34:43 +09:00
Henri Verbeet 62a02a047f d3d10core: Implement d3d10_device_UpdateSubresource(). 2015-08-18 18:28:47 +09:00
Henri Verbeet 63d279430d d3d10core: Add locking around wined3d calls. 2015-08-13 15:03:57 +09:00
Józef Kucia 96322fbefc d3d10core/tests: Fix copy-paste mistake. 2015-08-13 14:58:56 +09:00
Henri Verbeet 82dffc9567 d3d10core: Ensure the information we return in d3d10_texture2d_GetDesc() is current. 2015-08-06 23:36:01 +09:00
Henri Verbeet 4a843f2826 dxgi: Implement dxgi_surface_GetDesc() on top of wined3d. 2015-08-06 23:36:01 +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 e2c0c611d4 d3d10core: Implement d3d10_device_CopySubresourceRegion(). 2015-07-20 11:50:27 +02:00
Henri Verbeet 8dd93c7e33 d3d10core: Translate d3d10 usage to wined3d usage for buffers. 2015-06-16 16:48:58 +09:00
Henri Verbeet 39fc855316 d3d10core: Release the wined3d query in d3d10_query_Release() (Valgrind). 2015-04-29 12:24:43 +09:00
Henri Verbeet 0a12107604 d3d10core: Don't use potentially uninitialized data in the depth/stencil state key (Valgrind). 2015-04-29 12:24:40 +09: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 010ff106dd d3d10core: Implement d3d10_device_DrawInstanced(). 2015-03-24 17:41:17 +09:00
Henri Verbeet 1b08196c5a wined3d: Implement d3d10 style instance data step rates. 2015-03-24 17:41:06 +09:00
Henri Verbeet 88f230b56e d3d10core: Also pass unused input layout elements to wined3d.
While these won't be used by the shader, they potentially affect the
calculated offset for WINED3D_APPEND_ALIGNED_ELEMENT elements.
2015-03-23 22:59:12 +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 777ae5b7c5 d3d10core: Implement d3d10_shader_resource_view_GetPrivateData(). 2015-03-13 21:57:27 +09:00
Henri Verbeet 171d61a06a d3d10core: Implement d3d10_shader_resource_view_SetPrivateDataInterface(). 2015-03-13 21:57:27 +09:00
Henri Verbeet b0da585aeb d3d10core: Implement d3d10_shader_resource_view_SetPrivateData(). 2015-03-13 21:57:26 +09:00
Henri Verbeet 57c76e10e0 d3d10core: Implement d3d10_rendertarget_view_GetPrivateData(). 2015-03-13 00:28:17 +09:00
Henri Verbeet 656be74d13 d3d10core: Implement d3d10_rendertarget_view_SetPrivateDataInterface(). 2015-03-13 00:28:17 +09:00
Henri Verbeet c81446a7cc d3d10core: Implement d3d10_depthstencil_view_GetPrivateData(). 2015-03-13 00:28:16 +09:00
Henri Verbeet 3c65bff802 d3d10core: Implement d3d10_rendertarget_view_SetPrivateData(). 2015-03-13 00:28:16 +09:00
Henri Verbeet c3fab65647 d3d10core: Implement d3d10_depthstencil_view_SetPrivateDataInterface(). 2015-03-13 00:28:15 +09:00
Henri Verbeet 4a965589a6 d3d10core: Implement d3d10_depthstencil_view_SetPrivateData(). 2015-03-11 22:10:24 +09:00
Henri Verbeet c840645bc2 d3d10core: Implement d3d10_texture3d_GetPrivateData(). 2015-03-11 22:10:22 +09:00
Henri Verbeet 2d96cefbb7 d3d10core: Implement d3d10_texture3d_SetPrivateDataInterface(). 2015-03-11 22:10:20 +09:00
Henri Verbeet 721d399038 d3d10core: Implement d3d10_texture3d_SetPrivateData(). 2015-03-11 22:10:19 +09:00
Henri Verbeet f205b413f4 d3d10core: Implement d3d10_sampler_state_GetPrivateData(). 2015-03-11 22:10:16 +09:00
Henri Verbeet 5b5498a8b4 d3d10core: Implement d3d10_sampler_state_SetPrivateDataInterface(). 2015-03-10 21:37:22 +09:00
Henri Verbeet 21d94883bc d3d10core: Implement d3d10_sampler_state_SetPrivateData(). 2015-03-10 21:37:20 +09:00
Henri Verbeet 3b2c28d8cf d3d10core: Implement d3d10_rasterizer_state_GetPrivateData(). 2015-03-10 21:37:04 +09:00
Henri Verbeet da48976de9 d3d10core: Implement d3d10_rasterizer_state_SetPrivateDataInterface(). 2015-03-10 21:37:02 +09:00
Henri Verbeet 7531acd360 d3d10core: Implement d3d10_rasterizer_state_SetPrivateData(). 2015-03-10 21:36:59 +09:00
Henri Verbeet 11b4200012 d3d10core: Implement d3d10_depthstencil_state_GetPrivateData(). 2015-03-09 22:07:34 +09:00
Henri Verbeet f8656657fc d3d10core: Implement d3d10_depthstencil_state_SetPrivateDataInterface(). 2015-03-09 22:07:32 +09:00
Henri Verbeet 5cb14ba454 d3d10core: Implement d3d10_depthstencil_state_SetPrivateData(). 2015-03-09 22:07:30 +09:00
Henri Verbeet 3aafb12c78 d3d10core: Implement d3d10_blend_state_GetPrivateData(). 2015-03-09 22:07:28 +09:00
Henri Verbeet e6aabcd716 d3d10core: Implement d3d10_blend_state_SetPrivateDataInterface(). 2015-03-09 22:07:26 +09:00
Henri Verbeet 2971a92840 d3d10core: Implement d3d10_blend_state_SetPrivateData(). 2015-02-27 20:30:30 +09:00
Henri Verbeet 8204919828 d3d10core: Implement d3d10_pixel_shader_GetPrivateData(). 2015-02-27 20:30:28 +09:00
Henri Verbeet ed0c1c2ad5 d3d10core: Implement d3d10_pixel_shader_SetPrivateDataInterface(). 2015-02-27 20:30:26 +09:00
Henri Verbeet cae40a1653 d3d10core: Implement d3d10_pixel_shader_SetPrivateData(). 2015-02-27 20:30:23 +09:00
Henri Verbeet 6cd05c38a8 d3d10core: Implement d3d10_geometry_shader_GetPrivateData(). 2015-02-27 20:30:20 +09:00
Henri Verbeet e0e909ec48 d3d10core: Implement d3d10_geometry_shader_SetPrivateDataInterface(). 2015-02-26 20:09:22 +09:00
Henri Verbeet 450a3fbfc2 d3d10core: Implement d3d10_geometry_shader_SetPrivateData(). 2015-02-26 20:09:20 +09:00
Henri Verbeet 4345219274 d3d10core: Implement d3d10_vertex_shader_GetPrivateData(). 2015-02-26 20:09:17 +09:00
Henri Verbeet e8dc68a8e4 d3d10core: Implement d3d10_vertex_shader_SetPrivateDataInterface(). 2015-02-26 20:09:15 +09:00
Henri Verbeet fe06bb1492 d3d10core: Implement d3d10_vertex_shader_SetPrivateData(). 2015-02-26 20:09:12 +09:00
Henri Verbeet 7c8f053880 d3d10core: Implement d3d10_input_layout_GetPrivateData(). 2015-02-25 20:35:27 +09:00
Henri Verbeet e30032a64d d3d10core: Implement d3d10_input_layout_SetPrivateDataInterface(). 2015-02-25 20:35:26 +09:00
Henri Verbeet 2ffa29d660 d3d10core: Implement d3d10_input_layout_SetPrivateData(). 2015-02-25 20:35:26 +09:00
Henri Verbeet e7c892850b d3d10core: Implement d3d10_buffer_GetPrivateData(). 2015-02-25 20:35:26 +09:00
Henri Verbeet 3cf80b7fb7 d3d10core: Implement d3d10_buffer_SetPrivateDataInterface(). 2015-02-25 20:35:25 +09:00
Henri Verbeet 0d59cba5c9 d3d10core: Implement d3d10_buffer_SetPrivateData(). 2015-02-24 12:36:11 +09:00
Henri Verbeet 5dfb4c1266 d3d10core: Implement d3d10_query_GetPrivateData(). 2015-02-24 12:36:09 +09:00
Henri Verbeet 9c97e156e8 d3d10core: Implement d3d10_query_SetPrivateDataInterface(). 2015-02-24 12:36:07 +09:00
Henri Verbeet 14643cf8d4 d3d10core: Implement d3d10_query_SetPrivateData(). 2015-02-24 12:36:05 +09:00
Henri Verbeet e5dd9b2a18 d3d10core: Implement d3d10_texture2d_GetPrivateData(). 2015-02-24 12:36:02 +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 e46bdc28f6 d3d10core: Get rid of the "partial stub" FIXME in d3d10_device_CreateTexture2D(). 2015-02-18 23:21:46 +09:00
Henri Verbeet 58896c610f d3d10core: Get rid of the "partial stub" FIXME in d3d10_device_CreateBuffer().
At this point it doesn't really add anything anymore.
2015-02-18 23:21:43 +09:00
Henri Verbeet 849149d5d3 wined3d: Add support for appending vertex declaration elements. 2015-02-13 18:53:17 +09:00
Henri Verbeet 6b4623008f d3d10core/tests: Add a basic texturing test. 2015-01-19 14:31:43 +01:00
Henri Verbeet c6232e1d11 wined3d: Create GL sampler objects for wined3d sampler objects. 2015-01-15 17:24:43 +01:00
Henri Verbeet 4b480f5519 wined3d: Introduce struct wined3d_sampler_desc. 2015-01-15 17:24:32 +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
Henri Verbeet c0cb43311b d3d10core: Calculate the texture level count before texture creation. 2014-12-10 19:32:16 +01:00
Henri Verbeet 0e8f2786e9 wined3d: Keep a reference to the resource in shader resource views. 2014-12-01 11:00:23 +01:00
André Hentschel 5ddc53f30e d3d10core: Remove unused struct (Clang). 2014-11-25 13:47:11 +01:00
Henri Verbeet 1c116c3527 d3d10core/tests: Port alpha_test() to d3d10core. 2014-11-17 19:30:40 +09:00
Henri Verbeet ed9188c4f8 d3d10core: Set wined3d state in d3d10_device_OMSetBlendState(). 2014-11-04 16:54:37 +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
Henri Verbeet a21784b116 d3d10core: Free the output signature after creating the wined3d shader. 2014-11-04 16:54:32 +09:00