Henri Verbeet
65c9b48de6
d3d9/tests: Use a separate device for texdepth_test().
2014-03-24 11:49:31 +01:00
Henri Verbeet
b175891182
d3d9/tests: Use a separate device for texkill_test().
2014-03-21 13:59:22 +01:00
Henri Verbeet
3cc2d639bb
d3d9/tests: Use a separate device for x8l8v8u8_test().
2014-03-21 13:59:22 +01:00
Henri Verbeet
d1d40bfa55
d3d9/tests: Use a separate device for volume_v16u16_test().
2014-03-21 13:59:21 +01:00
Henri Verbeet
4a2e38953e
d3d9/tests: Use a separate device for constant_clamp_ps_test().
2014-03-21 13:59:20 +01:00
Henri Verbeet
7f302ac4c4
d3d9/tests: Use a separate device for cnd_test().
2014-03-21 13:59:19 +01:00
Henri Verbeet
cd93070bfd
d3d9/tests: Use a separate device for dp2add_ps_test().
2014-03-20 10:44:03 +01:00
Henri Verbeet
c0fdad52c2
d3d9/tests: Use a separate device for unbound_sampler_test().
2014-03-20 10:44:01 +01:00
Henri Verbeet
07c42c9eda
d3d9/tests: Use a separate device for nested_loop_test().
2014-03-20 10:43:58 +01:00
Henri Verbeet
f1d4d8c49d
d3d9/tests: Use a separate device for pretransformed_varying_test().
2014-03-20 10:43:56 +01:00
Henri Verbeet
c11904b86d
d3d9/tests: Use a separate device for vface_register_test().
2014-03-20 10:43:54 +01:00
Henri Verbeet
3ec514382f
d3d9/tests: Use a separate device for vpos_register_test().
2014-03-19 11:33:21 +01:00
Henri Verbeet
7df9eb08fb
d3d9/tests: Use a separate device for multiple_rendertargets_test().
2014-03-19 11:33:20 +01:00
Henri Verbeet
ad45d2c233
d3d9/tests: Use a separate device for texop_test().
2014-03-19 11:33:19 +01:00
Henri Verbeet
91d3dcffd7
d3d9/tests: Use a separate device for texop_range_test().
2014-03-19 11:33:19 +01:00
Henri Verbeet
33b32c9dd5
d3d9/tests: Use a separate device for alphareplicate_test().
2014-03-19 11:33:18 +01:00
Henri Verbeet
ad81149953
d3d9/tests: Use a separate device for dp3_alpha_test().
2014-03-18 11:42:35 +01:00
Henri Verbeet
34e9d94d81
d3d9/tests: Use a separate device for depth_buffer_test().
2014-03-18 11:42:33 +01:00
Henri Verbeet
38e2f4ca05
d3d9/tests: Use a separate device for depth_buffer2_test().
2014-03-18 11:42:31 +01:00
Henri Verbeet
421f925d5e
d3d9/tests: Use a separate device for depth_blit_test().
2014-03-18 11:42:24 +01:00
Henri Verbeet
424e069edc
d3d9/tests: Use a separate device for intz_test().
2014-03-18 11:42:21 +01:00
Henri Verbeet
7071bf199f
d3d9/tests: Use a separate device for shadow_test().
2014-03-17 17:34:11 +01:00
Henri Verbeet
b1fbee3340
d3d9/tests: Use a separate device for fp_special_test().
2014-03-17 17:34:11 +01:00
Henri Verbeet
f281ca2214
d3d9/tests: Use a separate device for depth_bounds_test().
2014-03-17 17:34:11 +01:00
Henri Verbeet
e93ff4063f
d3d9/tests: Use a separate device for srgbwrite_format_test().
2014-03-17 17:34:11 +01:00
Henri Verbeet
cfbb16ad49
d3d9/tests: Use a separate device for update_surface_test().
2014-03-17 17:34:11 +01:00
Henri Verbeet
0ee5fae929
d3d9/tests: Use a separate device for multisample_get_rtdata_test().
2014-03-14 16:14:24 +01:00
Henri Verbeet
af63977750
d3d9/tests: Use a separate device for zenable_test().
2014-03-14 16:14:23 +01:00
Henri Verbeet
55e669265d
d3d9/tests: Use a separate device for fog_special_test().
2014-03-14 16:14:23 +01:00
Henri Verbeet
f9c46fb77a
d3d9/tests: Use a separate device for volume_srgb_test().
2014-03-14 16:14:22 +01:00
Henri Verbeet
c868f2d3a7
d3d9/tests: Use a separate device for volume_dxt5_test().
2014-03-14 16:14:21 +01:00
Henri Verbeet
b02129aa90
d3d9/tests: Give add_dirty_rect_test() its own device.
...
We want to avoid tests accidentally depending on state set by previous
tests. For example, add_dirty_rect_test() had a dependency on D3DRS_CULLMODE
being D3DCULL_NONE, set by lighting_test().
2014-03-13 20:22:05 +01:00
Henri Verbeet
cac52b4b10
d3d9/tests: Don't share the D3D object either in visual.c tests that have their own device.
2014-03-13 20:22:04 +01:00
Henri Verbeet
1168948764
d3d9/tests: Get rid of "skip_once" in yuv_layout_test().
2014-03-03 17:02:19 +01:00
Martin Storsjo
8b2938a23e
d3d9/tests: Add tests for different YUV texture layouts.
2014-02-17 20:16:31 +01:00
Stefan Dösinger
6745982aaa
d3d9/tests: Skip YUV tests if the formats cannot be converted.
...
The Windows 8 testbot supports some YUV formats as plain surfaces, but cannot
convert them to RGB in StretchRect.
2014-02-17 20:16:26 +01:00
Stefan Dösinger
35223d80cb
d3d9/tests: Clean up yuv_color_test.
2014-02-17 20:16:25 +01:00
Henri Verbeet
a1b963490a
d3d9/tests: Direct3DCreate9() is always available if we have d3d9.
2014-01-29 20:26:14 +01:00
Henri Verbeet
86ffd6c4ea
d3d9/tests: Make sure create_device() returns NULL on failure.
2014-01-08 14:34:13 +01:00
Frédéric Delanoy
5ba7f79bad
Assorted spelling fixes.
2013-12-03 19:41:53 +01:00
Stefan Dösinger
c96092f831
d3d9/tests: Read the result before swapping in volume_v16u16_test.
2013-11-25 17:42:54 +01:00
Stefan Dösinger
cc138ba296
d3d9/tests: Add a test for AddDirtyRect.
2013-11-21 19:39:02 +01:00
Francois Gouget
b436087217
d3d9/tests: Fix a test failure on Windows XP with the default VGA driver.
2013-11-05 20:38:20 +01:00
Henri Verbeet
ceb4d2595b
d3d9/tests: Get rid of the "data2" vertex data array in pretransformed_varying_test().
2013-11-04 11:05:51 +01:00
Henri Verbeet
88971aa17d
d3d9/tests: Get rid of some unused test data in pretransformed_varying_test().
2013-11-01 10:53:14 +01:00
Henri Verbeet
532f17bce0
d3d9/tests: Fix the expected value for the "blendindices" test in pretransformed_varying_test().
...
0x00333333 makes much more sense than 0x00000000, and is what most of my
hardware returns. Apparently at least some GF7 cards (still) return
0x00000000, so also accept that as broken().
2013-11-01 10:53:09 +01:00
Henri Verbeet
90bd39c4e3
d3d9/tests: Use color_match() in more places.
2013-10-31 09:58:43 +01:00
Henri Verbeet
a17abf8d7d
d3d9/tests: Use explicit A calls.
2013-10-30 11:21:32 +01:00
Stefan Dösinger
60f62f4d48
d3d9/tests: Give stencil_cull_test its own device.
...
After drawing a quad with cullmode != none, the r500's Windows driver's
ability to clip clear rectangles to the viewport is permanently broken.
This shows up as a test failure in depth_buffer_test().
2013-10-29 20:07:07 +01:00
Stefan Dösinger
fe20ee1bc4
d3d9/tests: Add a volume V16U16 test.
2013-09-23 20:32:34 +02:00
Henri Verbeet
674b1e922d
d3d9: Avoid LPVOID.
2013-09-13 10:57:05 +02:00
Stefan Dösinger
53741d2bb9
d3d9/tests: D3DCMP_GREATER is broken on r500.
2013-09-12 17:48:51 +02:00
Stefan Dösinger
ed50457694
d3d9/tests: Clean up z_range_test a bit.
2013-09-12 17:48:28 +02:00
Stefan Dösinger
c0a14564d3
d3d9/tests: Actually accept r500 results.
2013-09-10 17:00:59 +02:00
Stefan Dösinger
0cb72cdeb5
d3d9/tests: Add a DXT5 volume test.
2013-09-02 18:07:38 +02:00
Stefan Dösinger
c1c2f99939
d3d9/tests: Add a volume sRGB test.
2013-08-27 21:30:03 +02:00
Matteo Bruni
e2cf98eb76
wined3d: Implement special fog behavior for orthogonal projection matrices.
2013-07-24 11:09:31 -05:00
Henri Verbeet
c57913babb
d3d9/tests: Make shader bytecode static const.
2013-07-01 19:51:23 +02:00
Matteo Bruni
0141b20cee
d3d9/tests: Improve cnd instruction test.
2013-06-26 18:45:41 +02:00
Matteo Bruni
aeade16d62
d3d9/tests: Skip unbound_sampler_test if cube or volume textures aren't supported.
2013-06-20 22:14:36 +02:00
Matteo Bruni
5ffabcdfff
d3d9/tests: Reset texture 0 to NULL at the end of texop_test().
2013-06-20 22:14:35 +02:00
Stefan Dösinger
e030ed3c2f
d3d9/tests: Add a test for fog_start == fog_end.
2013-06-19 20:09:53 +02:00
Stefan Dösinger
098105dca4
d3d9/tests: Don't test for equality in d3d9's depth_blit_test.
2013-04-24 18:26:48 +02:00
Stefan Dösinger
a4babd2ed3
d3d9/tests: Nvidia cannot handle 2x1 YUY2/UYVY surfaces.
2013-04-24 18:26:39 +02:00
Stefan Dösinger
6f8d25635d
d3d9/tests: Add r500 fp_special results.
2013-04-24 18:26:32 +02:00
Stefan Dösinger
67e57c84b9
d3d9/tests: Correct nv40 results.
2013-04-24 18:26:30 +02:00
Stefan Dösinger
6d06b7f5b8
d3d9/tests: Test special fp values in local constants.
...
The HLSL compiler refuses to use NaN and +/-Inf values in pre-SM4
shaders, claiming that those are unsupported in this shader model.
However, vsa.exe happilly generates them, the required strings in the
shader code are 1.#QNAN and 1.#INF. Native d3d9 happily loads such a
shader.
2013-04-09 16:33:50 +02:00
Rico Schüller
08e20e9d69
d3d9/tests: Use lower base hexadecimal values.
2013-02-25 13:03:28 +01:00
Matteo Bruni
25d0d0876d
wined3d: Make (wined3d_)surface_depth_blt_fbo handle locations other than SFLAG_INTEXTURE.
2013-02-19 10:39:42 +01:00
Stefan Dösinger
aaa11492db
wined3d: Ignore clears if count = 0 and rects != NULL.
2013-01-23 19:16:32 +01:00
Stefan Dösinger
aeee527ebd
d3d9/tests: Move the clipplane + shader test inside the capability check.
2012-12-06 13:02:11 +01:00
Stefan Dösinger
b11e499c0b
d3d9/tests: Give the texture transform test a defined colorop.
2012-12-06 13:02:04 +01:00
Stefan Dösinger
320b33e57b
d3d9/tests: Skip some texture transform tests if shaders are unsupported.
2012-12-06 13:01:56 +01:00
Henri Verbeet
32f8548d67
d3d9/tests: Avoid LPDIRECT3DSURFACE9.
2012-10-30 09:49:18 +01:00
Henri Verbeet
64ffe6476e
d3d9/tests: Avoid LPDIRECT3DVERTEXBUFFER9.
2012-10-30 09:49:15 +01:00
Henri Verbeet
369fb5185f
d3d9/tests: Avoid LPDIRECT3DTEXTURE9.
2012-10-30 09:49:13 +01:00
André Hentschel
31ca59f0b5
d3d9/tests: Fix copy-paste error (coverity).
2012-10-24 19:37:56 +02:00
Henri Verbeet
09443f14e7
wined3d: Enable "AlwaysOffscreen" by default.
2012-07-19 15:43:59 +02:00
Michael Stefaniuc
3d9a4e8921
d3d9/tests: Remove stray ok() call.
2012-05-21 12:43:26 +02:00
Henri Verbeet
82b3dbdefb
d3d9/tests: Fix a couple of return value checks.
2012-03-13 10:26:40 +01:00
Matteo Bruni
94953f165a
d3d9/tests: Add shader model 2 fog tests.
2012-03-09 17:26:21 +01:00
Matteo Bruni
393b2f137c
d3d9/tests: Reenable a VS fog test.
2012-03-09 17:26:06 +01:00
Henri Verbeet
8f6ddf789e
d3d9/tests: Add tests for z-clipping with D3DRS_ZENABLE disabled.
2012-02-24 09:56:02 +01:00
Matteo Bruni
f69f2aa347
wined3d: SM1 texture projection always divides by w when there is a vertex shader set.
2012-01-24 11:55:47 +01:00
Matteo Bruni
ec0c7a1605
d3d9/tests: Add some RESZ tests.
2012-01-19 17:08:10 +01:00
Matteo Bruni
167b2869ff
d3d9/tests: Add a multisampled -> not multisampled depth buffer blit test.
2012-01-19 17:08:09 +01:00
Matteo Bruni
9fb3e0fb62
d3d9/tests: Multisampled depth buffer tests.
2012-01-10 10:48:43 +01:00
Matteo Bruni
175a6d8d59
d3d9/tests: Fix NP2 check.
2012-01-10 10:48:38 +01:00
Matteo Bruni
53849b7d5e
d3d9/tests: Add more INTZ tests.
2012-01-10 10:48:34 +01:00
Matteo Bruni
8dee7989f2
d3d9/tests: More D3DTSS_TEXTURETRANSFORMFLAGS projection tests.
2011-12-28 18:55:25 +01:00
Stefan Dösinger
171c18a5bb
d3d9/tests: Test StrechRect between depth stencils with different sizes.
2011-12-06 17:07:20 +01:00
Henri Verbeet
6e8273177a
wined3d: Reject multisampled readbacks in wined3d_surface_get_render_target_data().
2011-10-24 11:16:33 +02:00
Henri Verbeet
12a99309d9
d3d9/tests: Add a small test for multisampled GetRenderTargetData().
2011-10-20 11:03:15 +02:00
Austin English
c3f6f96df4
d3d9/tests: Only skip the visual tests if d3d cannot be initialized on Windows.
2011-10-18 16:24:45 +02:00
Stefan Dösinger
6bf2eb76bb
d3d9/tests: Add a slop to the fog tests for X1600 GPUs.
2011-09-16 17:23:09 +02:00
Stefan Dösinger
f3644a513f
d3d9/tests: Fix the depth stencil size tests on AMD.
2011-09-16 17:23:09 +02:00
Stefan Dösinger
f708da1c1c
d3d9/tests: Range fog is not used with table fog.
2011-09-15 15:41:41 +02:00
Stefan Dösinger
c2cefe5584
d3d9: Add a LIT 0.0^0.0 test.
2011-09-12 10:09:40 +02:00
Matteo Bruni
e46378c764
d3d9/tests: Add unbound cube/volume texture tests.
2011-08-29 12:08:19 +02:00
Henri Verbeet
7e3ecd683c
wined3d: Move rectangle validation from surface_cpu_blt() to wined3d_surface_blt().
...
This fixes some tests because these were getting skipped for the BltOverride() path.
2011-08-04 09:04:39 +02:00
Matteo Bruni
afd1fe4389
d3d9/tests: Add a couple of fog tests.
2011-07-28 11:29:05 +02:00
Matteo Bruni
9a790806bd
d3d9/tests: Fix some messages.
2011-07-27 11:53:14 +02:00
Matteo Bruni
85e729cf5d
d3d9/tests: Rename a variable.
2011-07-27 11:53:09 +02:00
Matteo Bruni
9d3cc8b012
wined3d: Make dummy textures black.
2011-07-06 19:38:46 +02:00
Matteo Bruni
8d39a85e18
d3d9/tests: Fix alpha component in the unbound sampler tests.
...
Spotted by Sean Sube.
2011-07-06 19:38:19 +02:00
Marcus Meissner
8e5c79e439
d3d9: Remove superflous NULL checks (Coverity).
2011-06-27 13:28:13 -05:00
Henri Verbeet
11bf170ce0
d3d9/tests: Add some tests for IDirect3DDevice9::UpdateSurface().
2011-06-16 11:16:22 +02:00
Henri Verbeet
708d94212b
wined3d: Don't clamp vertex depth values.
...
Since we report D3DPMISCCAPS_CLIPTLVERTS.
2011-06-06 16:18:33 +02:00
Sean Sube
301c6ef4e5
d3d9/tests: Added unbound sampler test for pixel shaders.
2011-06-03 13:41:48 +02:00
Rico Schüller
480259ca2c
d3d9/tests: Fix some ok() messages in the visual tests.
2011-05-25 17:54:38 +02:00
Stefan Dösinger
cf757a6361
d3d9: Use a pixel shader for the vs 3.0 input test.
2011-05-25 12:23:32 +02:00
Stefan Dösinger
d8224118ab
d3d: Make the INTZ test more reliable.
2011-05-25 12:23:24 +02:00
Henri Verbeet
ea34d7aaba
d3d9/tests: Add a test for unwritten pixel shader outputs.
2011-05-25 11:49:27 +02:00
Henri Verbeet
6d31824a6e
d3d9/tests: Fix the depth clamping test.
2011-05-25 11:48:29 +02:00
Stefan Dösinger
e7c55939c4
d3d9: Drop the fixed function varying test.
...
Windows drivers return different values, some don't even draw. I don't know
any app that depends on this.
2011-05-24 12:47:28 +02:00
Stefan Dösinger
f6b30a17b3
d3d9: AMD cards don't clip transformed vertices.
2011-05-24 12:47:28 +02:00
Stefan Dösinger
77c1454cf6
d3d9: Skip the YUV tests when the driver confuses the U and V channels.
2011-05-20 10:34:37 +02:00
Stefan Dösinger
803bad0959
d3d9: Account for another different behavior in the viewport test.
2011-05-20 10:34:30 +02:00
Stefan Dösinger
5107796fc7
d3d9: Disable the zero instance test.
...
It fails on modern Nvidia cards (Win7, Geforce 9600).
2011-05-19 10:09:08 +02:00
Francois Gouget
5920de5ffb
Assorted spelling and case fixes.
2011-05-09 12:09:27 +02:00
Henri Verbeet
ed3f5081a3
d3d9/tests: Check if formats are supported for render targets in pixelshader_blending_test().
2011-05-06 14:23:46 +02:00
Henri Verbeet
86d090ee8e
d3d9/tests: Add a depth blit test.
2011-04-06 21:17:53 +02:00
Henri Verbeet
f212a56819
d3d9/tests: Add a test for partial depth buffer copies.
2011-04-05 11:13:56 +02:00
Stefan Dösinger
5e9884a488
d3d9: Test depth stencil size mismatches.
2011-03-16 16:31:54 +01:00
Austin English
66f5234f3e
d3d9/tests: Make sure to use return values (LLVM/Clang).
2011-02-17 18:33:42 +01:00
Matteo Bruni
c04f8ce055
d3d9/tests: Add a test for clip planes.
2011-02-15 17:24:26 +01:00
Henri Verbeet
82a4373cd0
wined3d: Check if formats are supported as render target in srgbwrite_format_test().
...
Floating point formats in particular may not be supported everywhere.
2011-02-02 12:23:34 +01:00
Henri Verbeet
0fb6005fa8
d3d9/tests: Check another return value in maxmip_test() (LLVM/Clang).
2011-02-02 12:21:20 +01:00
Stefan Dösinger
af641eb4fd
d3d9: Add an sRGB format test.
2011-02-01 12:04:35 +01:00
Stefan Dösinger
73c4fbcc51
d3d9: Work around an odd nvidia windows bug.
2011-02-01 12:03:24 +01:00
Henri Verbeet
4125fa62b9
d3d9/tests: Check ColorFill() return codes in color_fill_test() (LLVM/Clang).
2011-02-01 12:01:06 +01:00
Henri Verbeet
91ac0c37b1
wined3d: Disable vertex shader output clamping.
...
It looks like NV50+ hardware gets you infinities and NaN's in D3D as well for
most things, so we should only need special handling for pow and nrm.
2011-01-25 12:32:38 +01:00
Henri Verbeet
ac2afd08ae
d3d9/tests: Don't draw undefined data in stream_test().
2010-12-07 11:33:20 +01:00
Henri Verbeet
27b72fa847
d3d9/tests: Use GetRenderTargetData() for reading back pixels.
...
This is the recommended way to read back render targets. It's also much faster
on current wined3d, but that's mostly a side effect of imperfections in our
resource location management.
2010-11-23 13:15:29 +01:00
Henri Verbeet
4f651808fc
wined3d: Disallow empty surfaces.
2010-11-18 12:37:36 +01:00
Henri Verbeet
10ccba52e7
d3d9/tests: Fix some failure messages.
2010-11-17 14:01:14 +01:00
Henri Verbeet
e279fa2afd
d3d9/tests: Add a test for INTZ.
2010-11-05 17:15:37 +01:00
Alexandre Julliard
c1b1b6f184
d3d9/tests: Make some variables static.
2010-10-01 13:36:20 +02:00
Henri Verbeet
d911622722
d3d9/tests: Cleanup maxmip_test() a bit.
...
Having the failure message match the actual draw call in particular makes
debugging failures a lot nicer.
2010-09-21 14:16:54 +02:00
Ričardas Barkauskas
b099eeb8c4
d3d9/tests: Test NVDB (depth bounds test) behavior.
2010-09-16 10:12:39 -05:00
Henri Verbeet
bb201bb510
d3d9/tests: Read from the appropriate pixels in test_constant_clamp_vs().
2010-07-30 11:36:03 +02:00
Henri Verbeet
7b3d200ab3
d3d9/tests: Fix an ok() message in pointsize_test().
2010-07-29 17:33:35 +02:00
Henri Verbeet
da0582a624
d3d9/tests: Add a test for handling floating point specials in shaders.
2010-07-29 17:33:35 +02:00
Stefan Dösinger
a554d1e296
d3d9: Remove the shader version varying tests.
...
My Windows 7 installation rejects mixing ps_3_0 with anything other than
vs_3_0 and vice versa, making testing how those versions pass varyings
moot. Since I have never seen an app mixing 3.0 and non-3.0 shaders I
see no reason to keep the tests.
2010-07-26 18:38:32 +02:00
Henri Verbeet
0b630e1430
d3d9/tests: Add a test for clearing render targets in an MRT.
2010-07-23 11:46:51 +02:00
Henri Verbeet
74015090ae
d3d9/tests: Introduce a vertex shader to the MRT test.
2010-07-23 11:46:41 +02:00
Stefan Dösinger
8284f70de8
d3d9: Use a vertex shader in the vpos test.
2010-07-21 13:23:59 +02:00
Stefan Dösinger
bb3fb05c38
d3d9: Use a vertex shader in the vFace test.
2010-07-21 13:23:59 +02:00
Stefan Dösinger
ba0a5ed104
d3d9: Use a vertex shader for the nested loop test.
...
Win7 (or newer Nvidia drivers) don't allow ps_3_0 fragment processing without
vertex shaders. This is interesting on its own, but not part of this test.
2010-07-21 13:23:59 +02:00
Stefan Dösinger
e534e2e2ac
d3d9: Win7+Nvidia returns c2 in COISSUE'd CND.
2010-07-21 13:23:59 +02:00