Józef Kucia
47283b5b89
d3d10core/tests: Add test for index buffer offset.
...
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-07-27 22:21:12 +09:00
Józef Kucia
7b39fb0cac
d3d10core/tests: Add test for buffer data initialization.
...
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-07-27 22:21:11 +09:00
Józef Kucia
c51d16070c
d3d10core/tests: Add test for CreateBuffer() with invalid misc flags.
...
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-07-21 23:36:02 +09:00
Józef Kucia
9cb2c6db2f
d3d10core/tests: Add test for some shader instructions.
...
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-07-21 23:36:02 +09:00
Józef Kucia
a7e52707b0
wined3d: Enable rendering to 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-07-19 19:59:32 +09:00
Józef Kucia
36c82e6d49
d3d10core/tests: Add test for DXGI_FORMAT_R10G10B10A2_UNORM vertex format.
...
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-07-19 19:59:32 +09:00
Józef Kucia
5c3114ab8e
d3d10core/tests: Add test for writing floating-point specials to render target.
...
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-07-15 21:34:36 +09:00
Józef Kucia
b7b58e85bc
d3d10core/tests: Add test for immediate constant buffer.
...
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-07-14 17:40:12 +09:00
Józef Kucia
c06c1023df
d3d10core/tests: Add test for vertex formats.
...
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-07-08 23:07:21 +09:00
Józef Kucia
93f589df0d
d3d10core/tests: Port test_timestamp_query() from d3d9.
...
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-07-07 21:23:25 +09:00
Józef Kucia
c7fdde8e83
wined3d: Allow to create WINED3DFMT_R{16, 32}_TYPELESS depth 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-07-05 23:27:37 +09:00
Józef Kucia
53126c3e17
d3d10core/tests: Avoid using -1 in place of unsigned integer.
...
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-07-04 23:06:49 +09:00
Michael Stefaniuc
88217213ef
d3d10core/tests: Use SetRect() instead of open coding it.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:17:50 +09:00
Józef Kucia
e201dcac87
d3d10core/tests: Fix test table in test_create_rendertarget_view().
...
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-06-24 20:05:57 +09:00
Józef Kucia
eab40edba5
d3d10core/tests: Use get_rtv_desc() in test_render_target_views().
...
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-06-22 22:16:34 +09:00
Józef Kucia
348507522d
d3d10core/tests: Add test for invalid DSV descriptions.
...
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-06-17 22:52:52 +09:00
Józef Kucia
8929be2c23
d3d10core/tests: Add test for invalid RTV descriptions.
...
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-06-17 22:52:50 +09:00
Józef Kucia
09dbd7bef8
d3d10core/tests: Add test for invalid SRV descriptions.
...
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-06-17 22:52:48 +09:00
Józef Kucia
d048d5c201
d3d10core/tests: Add test for texturing with custom shader resource views.
...
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-06-10 20:34:04 +09:00
Józef Kucia
cd0a3c23a1
d3d10core/tests: Add more tests for creating depth stencil views.
...
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-06-10 20:34:04 +09:00
Józef Kucia
e9ac14596b
d3d10core/tests: Add more tests for creating render target views.
...
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-06-10 20:34:04 +09:00
Michael Stefaniuc
7c0d79770d
d3d10core/tests: Use wine_dbgstr_rect() to print RECTs.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-10 20:34:03 +09:00
Józef Kucia
026d5839ba
d3d11: Normalize SRV descriptions for remaining view dimensions.
...
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-06-09 21:56:55 +09:00
Józef Kucia
cc9b4d8a9e
d3d10core/tests: Add more tests for creating shader resource views.
...
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-06-09 21:56:40 +09:00
Józef Kucia
696cd4bdf1
d3d11: Normalize more fields in SRV descriptions.
...
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-06-06 22:18:53 +09:00
Józef Kucia
2f7c316888
wined3d: Allow creating render targets for some _UNORM/_SNORM formats.
...
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-06-03 22:24:55 +09:00
Józef Kucia
442fb186e1
d3d10core/tests: Add test for NULL sampler.
...
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-06-03 22:24:40 +09:00
Józef Kucia
42fcf20221
wined3d: Implement index buffer offset.
...
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-06-03 00:10:49 +09:00
Józef Kucia
3bac75c040
wined3d: Add support for NULL sampler.
...
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-06-03 00:10:49 +09:00
Józef Kucia
40e36b79ee
d3d10core/tests: Add test for input assembler.
...
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-06-01 22:12:32 +09:00
Józef Kucia
58774533a3
d3d10core/tests: Add test for SM4 breakc 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-05-26 22:14:52 +09:00
Józef Kucia
2ad46661e7
d3d10core/tests: Add test for SM4 if 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-05-25 22:05:13 +09:00
Alistair Leslie-Hughes
73d0328be7
d3d10core/tests: Added DXGI_FORMAT_R16_TYPELESS D3D11_BIND_DEPTH_STENCIL test.
...
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>
2016-05-25 22:04:37 +09:00
Józef Kucia
7b5c0e7a30
d3d10core/tests: Add test showing that inputs aren't matched with outputs.
...
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-05-24 20:03:22 +09:00
Józef Kucia
58c01b392c
d3d10core/tests: Add more tests for accessing unbound resources.
...
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-05-23 19:24:09 +09:00
Józef Kucia
9eef3c90ca
d3d10core/tests: Add create_buffer() helper.
...
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-05-21 00:53:52 +09:00
Józef Kucia
9dde91cb24
d3d10core/tests: Add tests for accessing unbound 2d array 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-05-19 20:26:38 +09:00
Józef Kucia
79aff3067a
d3d10core/tests: Add tests for sampling from 2d array 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-05-19 20:26:34 +09:00
Józef Kucia
c653dbd1b4
d3d10core/tests: Use D3D10 enum values instead of D3D11 ones.
...
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-05-18 19:39:09 +09:00
Józef Kucia
856c913d05
d3d10core/tests: Use abbreviations for long D3D10 enum value names.
...
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-05-18 19:39:07 +09:00
Józef Kucia
4a86e3d497
d3d11: Accept DXGI_FORMAT_UNKNOWN as format in view descriptions.
...
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-05-18 19:39:03 +09:00
Józef Kucia
445ed18b72
d3d11: Fix default view descriptions for 2D array 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-05-17 21:01:46 +09:00
Józef Kucia
ae78672d25
d3d10core/tests: Add tests for 2D texture RTVs.
...
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-05-17 21:01:36 +09:00
Józef Kucia
938545c61c
d3d10core/tests: Check all sub-resources in check_texture_* functions.
...
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-05-17 21:01:34 +09:00
Józef Kucia
64014ae3ed
wined3d: Add "layer_count" parameter to wined3d_texture_create().
...
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-04-26 21:35:31 +09:00
Alistair Leslie-Hughes
232834a572
d3d11: Support NULL views in d3d10_device_ClearRenderTargetView().
...
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>
2016-04-18 15:07:43 +09:00
Alistair Leslie-Hughes
75ef613e82
d3d11: Support NULL views in d3d10_device_ClearDepthStencilView().
...
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>
2016-04-18 15:07:39 +09:00
Józef Kucia
28f4b696ac
d3d10core/tests: Test creating 2D array texture views.
...
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-04-09 12:18:39 +09:00
Józef Kucia
a0d54ccf61
d3d10core/tests: Test creating 2D array 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-04-09 12:18:35 +09:00
Józef Kucia
b3b4a943dd
d3d10core/tests: Add more tests for texture data initialization.
...
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-04-09 12:18:31 +09:00
Stefan Dösinger
3272e49984
d3d10core/tests: Remove dead code.
...
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-04-06 12:50:20 +09:00
Józef Kucia
f0766c49ef
d3d10core/tests: Add test for ID3D10Device_CreateQuery().
...
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-04-05 21:37:32 +09:00
Matteo Bruni
b2dcc1007a
d3d10core/tests: Add a test for DXGI_FORMAT_A8_UNORM textures.
...
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-03-24 22:09:44 +09:00
Józef Kucia
ceed14231b
d3d10core/tests: Add test for ClearRenderTargetView().
...
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-03-23 23:35:40 +09:00
Józef Kucia
4037b48a4c
d3d10core/tests: Test render to depth 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>
2016-03-22 23:51:32 +09:00
Józef Kucia
aaf36fb7b0
d3d10core/tests: Add test for copying buffer resources.
...
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-03-22 00:36:29 +09:00
Józef Kucia
3939dae06d
d3d10core/tests: Test values of unused fields in D3D10_DEPTH_STENCIL_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>
2016-03-16 21:59:43 +09:00
Matteo Bruni
fcc8553d8b
d3d10core: Add feature level support.
...
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-03-16 21:59:42 +09:00
Józef Kucia
57d0a872f3
d3d10core/tests: Add test for ClearDepthStencilView().
...
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-03-15 22:46:08 +09:00
Józef Kucia
4a8b305ed7
d3d10core/tests: Add more create texture tests.
...
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-03-15 22:45:38 +09:00
Józef Kucia
f1c58a93af
d3d11: Translate WINED3DERR_INVALIDCALL to E_INVALIDARG in d3d_texture{2d, 3d}_init().
...
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-03-15 22:45:34 +09:00
Józef Kucia
d4c9ba8427
d3d10core/tests: Move typeless textures test to test_create_texture{2d, 3d}().
...
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-03-15 22:45:23 +09:00
Józef Kucia
69433d2319
d3d10core/tests: Introduce draw_quad().
...
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-03-11 20:23:39 +09:00
Józef Kucia
67ba537f77
d3d10core/tests: Introduce d3d10core_test_context for visual tests.
...
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-03-11 20:23:37 +09:00
Józef Kucia
07ce50d864
d3d10core/tests: Add test for creating DSV with DXGI_FORMAT_UNKNOWN.
...
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-03-08 11:10:57 +09:00
Józef Kucia
1e5f819cee
d3d10core/tests: Add test for creating RTV with DXGI_FORMAT_UNKNOWN.
...
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-03-08 11:10:51 +09:00
Józef Kucia
08ba886c72
d3d10core/tests: Remove unnecessary explicit array sizes.
...
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-03-04 20:55:26 +09:00
Józef Kucia
6e7fe14ba5
d3d10core/tests: Add test for creating SRV with DXGI_FORMAT_UNKNOWN.
...
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-03-04 20:55:01 +09:00
Józef Kucia
90589e697e
d3d10core/tests: Add test for DXGI_FORMAT_BC5_UNORM format.
...
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-03-03 22:29:06 +09:00
Józef Kucia
08731933d2
d3d10core/tests: Add test for DXGI_FORMAT_BC4_UNORM format.
...
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-03-03 22:29:06 +09:00
Józef Kucia
28c04a64f6
d3d10core/tests: Viewport properties are integers.
...
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-03-02 23:30:42 +09:00
Józef Kucia
9e9b51f1b1
d3d10core/tests: Port test_multiple_render_targets() 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-03-02 23:30:40 +09:00
Józef Kucia
3ab957d19c
d3d10core/tests: Introduce check_texture_color().
...
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-03-01 21:34:59 +09:00
Józef Kucia
7244ad3c72
d3d10core/tests: Port test_create_typeless_resource() 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-03-01 21:34:55 +09:00
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
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