Zebediah Figura
364aed6829
d3d10core/tests: Don't run the 32-bit tests multithreaded.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-07 17:31:33 +01:00
Nikolay Sivov
a3c65a329e
d3d11: Always initialize out view pointer in CreateDepthStencilView().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-01 20:35:09 +01:00
Nikolay Sivov
db6d549837
d3d11: Always initialize out view pointer in CreateShaderResourceView().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-01 20:35:04 +01:00
Alexandre Julliard
f0cd33c69e
include: Add support for defining Win32 types as 'long' where possible.
...
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Zebediah Figura
9206277105
d3d11: Report D3D11_FORMAT_SUPPORT_IA_INDEX_BUFFER.
...
This fixes a black screen in The Unfinished Swan.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-24 21:44:51 +01:00
Zebediah Figura
59636714e7
d3d11: Report D3D11_FORMAT_SUPPORT_IA_VERTEX_BUFFER.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-24 21:44:51 +01:00
Stefan Dösinger
b7808643c5
d3d10core/tests: Run test_generate_mips separately.
...
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-12 20:27:32 +01:00
Stefan Dösinger
623f8ec0b2
d3d10core/tests: Run test_instanced_draw() separately.
...
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-11 21:59:51 +01:00
Nikolay Sivov
df8ef3a54f
d3d11: Always initialize out view pointer in CreateRenderTargetView().
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51195
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-10 21:32:29 +01:00
Michael Stefaniuc
0b9ec86c26
d3d10core/tests: Don't test stencil_ref again if it wasn't touched.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-28 17:23:30 +01:00
Andrey Gusev
b006a4c5ac
wined3d: Add WINED3DFMT_R11G11B10_FLOAT vertex format.
...
Used by Dark Souls: Remastered.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-17 18:33:57 +01:00
Andrey Gusev
4f3d189f53
wined3d: Add WINED3DFMT_R16_FLOAT vertex format.
...
Fixes rendering glitches in Batman: Arkham Knight.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-19 18:31:38 +01:00
Nikolay Sivov
c536da7fe0
d3d10core/tests: Add a test for DXGI_FORMAT_R8G8_UINT support in vertex buffers.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-17 16:04:42 +01:00
Nikolay Sivov
f266c87bc9
d3d11: Correctly handle optional arguments in OMGetBlendState().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-02 20:32:51 +01:00
Nikolay Sivov
3b860a0378
d3d11: Correctly handle optional arguments in OMGetDepthStencilState().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-19 20:53:37 +02:00
Zebediah Figura
2b30a5b47e
d3d10core/tests: Test deleting a stream output buffer immediately after drawing into it.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-19 20:53:24 +02:00
Matteo Bruni
9290f16797
d3d10core/tests: Use test contexts in test_stream_output().
...
Sneaked in a couple small changes: add a simpler gap test case, move a
gap test in the proper place.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-06 20:29:35 +02:00
Zebediah Figura
2ece80c300
d3d10core/tests: Add a stress test for dynamic buffer maps.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-27 20:38:24 +02:00
Alexandre Julliard
088a787a2c
makefiles: Make -mno-cygwin the default.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Nikolay Sivov
b1b49b5863
d3d10core/tests: Test 2D texture creation with mutually exclusive sharing modes.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-04 21:48:27 +02:00
Francois Gouget
5e065c3c70
d3d10core/tests: Increase the tolerance in test_texture_compressed_3d().
...
This fixes failures on Nvidia GeForce GTX 560 graphics cards.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51340
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-29 15:31:57 +02:00
Henri Verbeet
2aeab85c27
wined3d: Add decompression information for BC4_UNORM.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-22 17:57:47 +02:00
Henri Verbeet
ca289c2b39
wined3d: Reject raw blits between depth/stencil and colour resources in the GLSL blitter.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-06 18:53:49 +02:00
Henri Verbeet
769e2be52f
wined3d: Reject blits between depth/stencil and colour resources in the raw blitter.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-06 18:53:49 +02:00
Henri Verbeet
dfb6c30754
d3d10core/tests: Add some tests for copying between depth/stencil and colour formats.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-06 18:53:49 +02:00
Jan Sikorski
115808d1db
d3d10core/tests: Test combined scissors and viewport with negative offsets.
...
Signed-off-by: Jan Sikorski <jsikorski@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-04 21:33:15 +02:00
Jan Sikorski
4ccf7498aa
d3d10core/tests: Add a test for unbound input streams.
...
Signed-off-by: Jan Sikorski <jsikorski@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-27 21:27:53 +02:00
Jan Sikorski
d27c614cfc
wined3d: Handle typeless resolve in the FBO blitter.
...
Avoid resolving source texture before the blit due to format conversion in that case.
Signed-off-by: Jan Sikorski <jsikorski@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-19 22:06:56 +02:00
Jan Sikorski
8118af8f65
d3d10core/tests: Don't use all samples for blending in multisample resolve test.
...
Shows whether the resolve happens in the right color space.
Signed-off-by: Jan Sikorski <jsikorski@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-07 22:36:11 +02:00
Zebediah Figura
05a0e9ee2d
d3d10core/tests: Test multiple instanced step rates.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-25 17:56:03 +01:00
Henri Verbeet
f870cf9282
wined3d: Load/invalidate entire views in ffp_blitter_clear_rendertargets().
...
In particular, clearing a multi-layer view affects all layers, not just the
first.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-25 08:54:31 +01:00
Henri Verbeet
25e07835a2
wined3d: Allow layered clears.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-25 08:54:28 +01:00
Henri Verbeet
54b2bb52ea
d3d10core/tests: Add a test for layered clears.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-25 08:54:14 +01:00
Henri Verbeet
281f8ed4a5
d3d10core/tests: Add format compatibility tests for compressed formats.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-10 09:14:36 +01:00
Henri Verbeet
22e16b5681
d3d10core/tests: Add format compatibility tests for DXGI_FORMAT_R9G9B9E5_SHAREDEXP.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-10 09:14:25 +01:00
Jan Sikorski
5160479213
d3d10core/tests: Add input layout alignment tests.
...
Signed-off-by: Jan Sikorski <jsikorski@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-08 20:10:17 +01:00
Paul Gofman
1799afe9c9
d3d10core/tests: Add test for NULL resource parameters for _CopySubresourceRegion().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-18 22:07:34 +02:00
Zebediah Figura
d08ef1e2ca
wined3d: Implement OpenGL sample masks.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-02 21:25:26 +02:00
Zebediah Figura
5eadfb0931
d3d10core/tests: Test specifying the multisample mask via OMSetBlendState().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-02 21:25:18 +02:00
Rémi Bernon
a5a1bcbdaf
d3d10core: Directly call DXGID3D10CreateDevice().
...
Instead of using D3D11CoreCreateDevice().
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-02 11:14:58 +02:00
Chip Davis
4b19ef0b74
d3d10core/tests: Use compare_uint() in a few more places.
...
Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-06 21:21:42 +02:00
Henri Verbeet
689e00c785
d3d10core/tests: Introduce compare_uint().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-30 23:10:07 +02:00
Zebediah Figura
00e55c8fc0
d3d10core/tests: Relax some color comparisons.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-23 21:30:39 +01:00
Zebediah Figura
0d6d104513
d3d10core/tests: Add a test for dual source blending.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-18 16:52:42 +01:00
Zebediah Figura
f396b49a92
wined3d: Move the color masks to wined3d_blend_state.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-13 13:23:11 +01:00
Zebediah Figura
2da5422bd2
wined3d: Implement independent blend.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-13 13:23:11 +01:00
Zebediah Figura
655fea5539
d3d10core/tests: Add a test for independent blend.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-10 17:59:17 +01:00
Zebediah Figura
3b043c1fdf
d3d10core/tests: Add a test for color masks.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:52 +01:00
Alexandre Julliard
41683615a7
d3d: Revert test hacks that shouldn't have been committed.
...
This reverts part of commit b680571a50
.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-13 08:16:05 +01:00
Alexandre Julliard
b680571a50
shell32: Process all messages in control panel.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47947
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-12 23:04:29 +01:00