Akihiro Sagawa
87fe9779ec
d3d9/tests: Add LockRect tests with dynamic textures.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-06 14:47:13 +01:00
Józef Kucia
6b6c6069ed
d3d9: Fix query result data for not started queries.
...
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>
2017-02-03 19:05:13 +01:00
Józef Kucia
cde106d225
d3d9/tests: Extend queries 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>
2017-02-03 19:05:12 +01:00
Matteo Bruni
7e30dc8b4e
d3d9/tests: Add a trace to clear_test() to show whether sRGB writes are supported.
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 21:38:48 +01:00
Matteo Bruni
ea11b27528
d3d9/tests: Add a test for DrawIndexedPrimitiveUP().
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 15:52:41 +01:00
Józef Kucia
14e2412783
d3d9/tests: Remove redundant state setting calls.
...
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>
2017-01-17 15:41:38 +01:00
Józef Kucia
07392b39fb
d3d9/tests: Accept 64-bit Windows FPU setup behavior.
...
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>
2017-01-13 16:28:00 +01:00
Józef Kucia
6664601b83
d3d9: Return D3D_OK from UnlockRect() for not locked 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>
2017-01-13 16:27:44 +01:00
Józef Kucia
52452b271e
d3d9/tests: Add more tests for UnlockRect().
...
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>
2017-01-13 16:27:40 +01:00
Józef Kucia
e8360b8eaa
d3d9: Do not create render target view while surface refcount is equal to 0.
...
This fixes a regression introduced by commit
b005ad6f90
.
A render target view has to be created when a surface is referenced.
Otherwise the render target view reference count would be inconsistent
with the surface reference count.
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>
2017-01-06 16:29:07 +01:00
Józef Kucia
7e616af6ea
d3d9/tests: Add d3d9ex test for backbuffer resize.
...
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>
2017-01-05 14:54:50 +01:00
Józef Kucia
0cf81686b6
d3d9/tests: Do not assume surface size and format in get_pixel_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>
2017-01-05 14:54:48 +01:00
Józef Kucia
a7918817d4
d3d9/tests: Add test for stale render target views regression.
...
This test exercises a regression introduced by commit
b005ad6f90
.
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>
2017-01-05 14:54:41 +01:00
Józef Kucia
c6795afcdd
d3d9/tests: Do not assume surface size and format in get_rt_readback().
...
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>
2017-01-05 14:54:39 +01:00
Józef Kucia
c1aba7cd8b
d3d9: Reject render target surfaces created for other devices.
...
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>
2017-01-03 16:18:40 +01:00
Józef Kucia
6e6b377c22
d3d9/tests: Add test for render target device mismatch.
...
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>
2017-01-03 16:18:34 +01:00
Józef Kucia
e2e0c747a8
wined3d: Filter messages for fullscreen mode changes.
...
This fixes a regression introduced by commit
d9f8cba50f
.
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-12-14 10:32:44 +01:00
Józef Kucia
37daa35737
d3d9/tests: Add test showing WM_SIZE is not sent during fullscreen mode change.
...
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-12-14 10:32:42 +01:00
Józef Kucia
49f6aa32ef
d3d9/tests: Add test showing that primitive restart must be disabled.
...
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-12-08 13:54:06 +01:00
Józef Kucia
6b80fe5095
d3d9/tests: Add test for occlusion query with result bigger than UINT32_MAX.
...
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-11-25 19:48:58 +01:00
Józef Kucia
5b0cd6fa3e
d3d9/tests: Add test for evicting bound 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-11-03 17:14:03 +01:00
Józef Kucia
89ba457011
d3d9/tests: Add test for checking buffer resource format support.
...
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-11-03 17:13:57 +01:00
Matteo Bruni
13ae8c91d1
d3d9/tests: Add a test for the dsy SM3 instruction.
...
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-10-07 13:11:49 +02:00
Matteo Bruni
65f20ffc50
d3d9/tests: Make the window client rect match the d3d swapchain size.
...
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-10-07 13:11:46 +02:00
André Hentschel
ddc6e027a4
d3d9/tests: Allow D3D_OK for lost device present (Win10).
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-21 21:32:52 +09:00
Patrick Rudolph
3f7e5d647e
wined3d: Handle WINED3DFMT_FLAG_BROKEN_PITCH in wined3d_format_calculate_size().
...
The broken pitch calculation also affects the resource memory layout, as
evidenced by the mip-tree layout tests. Found using apitrace, which crashes on
Wine when playing back traces containing ATI1 textures.
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-26 23:23:44 +09:00
Józef Kucia
53714bd6a8
d3d9: Forbid display mode and back buffer mismatch in IDirect3DDevice9Ex_ResetEx().
...
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-08-24 22:24:02 +09:00
Józef Kucia
c1cc6e45da
d3d9: Allow passing "mode" to IDirect3DDevice9Ex_ResetEx() iff "Windowed" is FALSE.
...
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-08-24 22:23:59 +09:00
Józef Kucia
de3ca49952
d3d9/tests: Add test for IDirect3DDevice9Ex_ResetEx().
...
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-08-24 22:23:57 +09:00
Józef Kucia
677a9349c7
d3d9/tests: Restore display rotation in test_get_adapter_displaymode_ex().
...
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-08-24 22:23:54 +09:00
Józef Kucia
7d836b3f13
d3d9/tests: Add test for regression in IDirect3DDevice9_Reset().
...
This adds a test for regression introduced in
cad279449c
.
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-08-17 11:52:37 +09:00
Józef Kucia
eaa20836d2
wined3d: Do not enable blending for edge/line antialiasing.
...
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-08-10 23:56:50 +09:00
Józef Kucia
5a4d218563
d3d9/tests: Add test for line antialiasing blending.
...
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-08-09 22:00:01 +09:00
Matteo Bruni
e592b541a1
d3d9/tests: Add a vertex blending test with D3DCOLOR weights.
...
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-08-01 09:57:31 -05:00
Michael Stefaniuc
080c74497d
d3d9/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:46 +09:00
Michael Stefaniuc
bcd38dec15
d3d9/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:04 +09:00
Francois Gouget
c000733e90
d3d9/tests: Fix a trailing ok() '\n'.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-30 19:49:25 +09:00
Józef Kucia
e8aa575ff6
d3d9/tests: Add some tests for draw methods.
...
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:12 +09:00
Józef Kucia
d283c5b68e
d3d9: Allow to pass NULL pointers to IDirect3DDevice9_GetRenderTargetData().
...
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:49 +09:00
Andrey Gusev
0a9f22facc
d3d9/tests: Fix a typo in skip() message.
...
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>
2016-05-14 14:39:54 +09:00
Henri Verbeet
3b96ac290d
wined3d: Allocate system memory for complete textures.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-21 14:09:39 +09:00
Francois Gouget
0277ba190b
d3d9/tests: Spelling fixes for a couple of ok() calls.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-18 15:05:06 +09:00
Henri Verbeet
82a7f1ebf2
wined3d: Implement texture DC creation on top of D3DKMTCreateDCFromMemory().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-15 12:32:25 +09:00
Henri Verbeet
cf259ea41e
d3d9/tests: Add some tests for the properties of the DC returned by surface GetDC().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-13 23:01:07 +09:00
Henri Verbeet
9e763ab92b
wined3d: Be more strict with wined3d_texture_get_dc() calls from d3d9.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-13 23:01:06 +09:00
Henri Verbeet
c3d74913b7
wined3d: Be more lenient with wined3d_texture_get_dc() calls from ddraw.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-13 23:01:06 +09:00
Stefan Dösinger
301c9a4d5c
d3d9/tests: Add a system memory miptree layout test.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-12 12:03:39 +09:00
Henri Verbeet
b8ffc4df1c
d3d9/tests: Add some more surface GetDC() tests to test_getdc().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-11 11:36:12 +09:00
Matteo Bruni
05f57dae24
d3d9/tests: Add a test for color varyings clamping.
...
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-28 16:26:52 +09:00
Paul Gofman
1d94ec8581
d3d9/tests: Add test for D3DFMT_L8 format as render target.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-24 22:09:50 +09:00
Stefan Dösinger
ae5931a62e
d3d9/tests: Test multisample flip.
...
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
Stefan Dösinger
d71f452c4d
wined3d: Rotate through swapchain buffers.
...
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
Frédéric Delanoy
77c05ebc4e
d3d9/tests: Use todo_wine_if() in tests.
...
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.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
a6e056d26a
d3d9/tests: Add test for surface format gamma correction query.
...
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:26 +09:00
Matteo Bruni
7fd7516922
d3d9/tests: Test the creation of render targets 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-01-29 00:42:26 +09:00
Matteo Bruni
57c1f072f0
d3d9/tests: Extend test_checkdevicemultisampletype().
...
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-01-29 00:42:26 +09:00
Riccardo Bortolato
39549a54fc
d3d9: Implement d3d9_device_UpdateSurface() on top of wined3d_device_copy_sub_resource_region().
...
Signed-off-by: Riccardo Bortolato <rikyz619@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-28 13:44:08 +09:00
Stefan Dösinger
062c0a90a2
d3d9/tests: Test invalid locks with textures.
...
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-20 21:18:15 +09:00
Stefan Dösinger
460ae01d98
d3d9/tests: Block validation checks the surface size too.
...
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-19 00:10:45 +09:00
Stefan Dösinger
48575df7cb
wined3d: Block validation checks the surface size too.
...
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-19 00:10:42 +09:00
Józef Kucia
810423960d
d3d9/tests: Add missing space to trace() message.
...
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-09 17:30:04 +09:00
Józef Kucia
38d2d462df
d3d9/tests: Add test for CreateDepthStencilSurfaceEx().
...
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-09 17:30:04 +09:00
Henri Verbeet
e6e0c22783
wined3d: Set WINED3D_BUFFER_DOUBLEBUFFER for managed buffers as well.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-05 15:45:22 +01:00
Józef Kucia
574bce1b2b
wined3d: Do not perform texture alpha blending for BUMPENV 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-05 11:51:34 +01:00
Stefan Dösinger
7cdb66a48b
d3d9/tests: Use a slop for test_shademode.
...
Needed on my Geforce 7300. The old test passed OK, the newly extended
test needs a slop.
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-03 20:04:09 +01:00
Józef Kucia
c3be8d748f
d3d9/tests: Add tests for FFP texture blending.
...
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-12-10 00:12:44 +09:00
Matteo Bruni
66d8e38ba4
wined3d: Handle D3DRS_SRGBWRITEENABLE in clears when ARB_framebuffer_sRGB is not supported.
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-30 23:51:06 +09:00
Matteo Bruni
787a2716e1
wined3d: Respect D3DRS_SRGBWRITEENABLE in clears.
...
This only handles the case where ARB_framebuffer_sRGB and
EXT_texture_sRGB_decode are supported by the GL implementation.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-30 23:51:05 +09:00
Vincent Povirk
7578bca0c0
d3d9/tests: Accept CURSOR_SUPPRESSED in cursor flags.
...
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-26 00:12:52 +09:00
Stefan Dösinger
04b41ade76
d3d9/tests: Multisampled render targets are zeroed on creation.
...
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>
2015-11-23 23:35:21 +09:00
Matteo Bruni
59d405b473
d3d9/tests: Improve the shade mode test.
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-13 22:54:05 +09:00
Henri Verbeet
e855837abb
d3d9/tests: Introduce a helper function to test for WARP.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-23 20:57:47 +09:00
Michael Stefaniuc
4fb840b614
d3d9/tests: Test the return value of CreateDepthStencilSurface().
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-22 23:34:48 +09:00
Matteo Bruni
8075101480
d3d9/tests: Extend the shadow test a bit.
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 22:42:11 +09:00
Matteo Bruni
d6e4064596
d3d9/tests: Extend the INTZ test a bit.
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 22:42:04 +09:00
Nikolay Sivov
6c2bda6e33
d3d9/tests: Use BOOL variable for ShowCursor return value (PVS-Studio).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-14 12:47:18 +09:00
Matteo Bruni
f63386f43e
d3d9/tests: Uninitialized varyings tests.
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 22:24:04 +09:00
Matteo Bruni
742d4df55b
d3d9/tests: Use the new readback helpers in test_pointsize().
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-12 22:09:56 +09:00
Matteo Bruni
b8225d0a6a
d3d9/tests: Add helpers to avoid multiple readbacks of the render target surface.
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-12 22:09:56 +09:00
Matteo Bruni
171352b901
d3d9/tests: Test uninitialized texture varyings with transformed vertices.
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-12 22:09:56 +09:00
Matteo Bruni
7ee0578019
d3d9/tests: Fix color_match().
...
Clang on OS X complains about calling abs() on an unsigned value.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 21:00:38 +09:00
Stefan Dösinger
178d0030a2
d3d9/tests: Port test_flip to d3d9.
...
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
2015-10-06 19:23:32 +09:00
Gerald Pfeifer
601aa570f1
d3d9: Avoid shift overflow in render_state_test_data_init.
...
Same patch as just a minute ago, alas fro d3d9 instead of d3d8.
Gerald
2015-09-08 21:59:17 +09:00
Stefan Dösinger
2e8e2da5ee
d3d9/tests: Test D3DBACKBUFFER_TYPE.
2015-09-08 21:59:16 +09:00
Stefan Dösinger
fc987aaaf6
d3d9/tests: Add more GetBackBuffer error handling tests.
2015-09-03 21:11:08 +09:00
Stefan Dösinger
0933332c73
d3d9/tests: Fix backbuffer read vs flip in test_vertex_blending.
2015-08-28 19:52:25 +09:00
Stefan Dösinger
9261bbb1a6
d3d9/tests: Test presentation parameter combinations.
2015-08-27 21:43:47 +09:00
Stefan Dösinger
961f4c0a25
d3d9/tests: Mark testbot depth bias results broken.
2015-08-06 21:04:30 +09:00
Henri Verbeet
0c8e78f80d
d3d9: Don't assert on invalid IDirect3DBaseTexture9 interfaces.
2015-08-04 12:21:58 +02:00
Stefan Dösinger
571462c633
d3d9/tests: Add a depth bias test.
2015-07-30 23:51:22 +02:00
Matteo Bruni
68e2503965
d3d9/tests: Don't call SetVertexShaderConstantF if vertex shaders aren't supported.
...
Also slightly change attenuation factors to try to stay away from the
(possible) implementation max size of 64.
2015-07-29 20:56:37 +02:00
Matteo Bruni
149b1549be
d3d9/tests: Fix caps check in texdepth_test().
2015-07-29 20:56:35 +02:00
Matteo Bruni
76b1461d17
d3d9/tests: Add a test for UpdateTexture.
2015-07-09 17:18:22 +09:00
Józef Kucia
399cf7e4b9
d3d9/tests: Add basic tests for vertex blending.
2015-07-03 16:51:39 +09:00
Matteo Bruni
170dca7741
wined3d: Handle per-vertex point size in the GLSL FFP replacement.
2015-06-17 20:01:19 +09:00
Matteo Bruni
4611ad8bef
d3d9/tests: Test the default colors for fixed function vertex processing.
2015-06-12 21:23:12 +09:00
Matteo Bruni
3c7e48a132
d3d9/tests: Test the default diffuse color for vertex shaders.
2015-06-12 21:23:12 +09:00
Matteo Bruni
81935797a1
d3d9/tests: Add a test for reordering texture coordinates via D3DTSS_TEXCOORDINDEX.
2015-06-11 19:34:54 +09:00
Stefan Dösinger
4d8bfe190c
d3d9/tests: Test multisample mismatch.
2015-06-10 23:25:05 +09:00
Matteo Bruni
386b5ded61
d3d9/tests: Add more tests for point size.
2015-06-05 16:52:54 +09:00