Michael Stefaniuc
|
90a3911355
|
d3dx9/tests: Use SetRectEmpty() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-12-07 18:07:56 +01:00 |
Henri Verbeet
|
6c7c777f8d
|
d3dx9: Use intermediate surfaces for loading from unmappable source surfaces in D3DXLoadSurfaceFromSurface().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-11-21 17:00:47 +01:00 |
Henri Verbeet
|
9ab14dff87
|
d3dx9: Use a staging texture to update unmappable surfaces in D3DXLoadSurfaceFromMemory().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-11-19 22:42:41 +01:00 |
Paul Gofman
|
f9f6f42749
|
d3dx9/tests: Add tests for using D3DXLoadSurfaceFromSurface() with default render target.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-11-16 16:32:57 +01:00 |
Marcus Meissner
|
0caef45409
|
d3dx9/tests: Fix string size to MultiByteToWideChar().
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-06-27 10:07:38 +02:00 |
Kieran Duggan
|
36ad988da8
|
d3dx9/tests: Add initial tests for ID3DXFont::DrawText().
Signed-off-by: Kieran Duggan <kieranduggan15@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-06-21 11:18:25 +02:00 |
Michael Stefaniuc
|
84f5873906
|
d3dx9/tests: Use ARRAY_SIZE() in the initialization of registerset_data[].
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-06-05 23:49:58 +02:00 |
Michael Stefaniuc
|
1a5339346f
|
d3dx9/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-06-05 23:49:56 +02:00 |
Michael Stefaniuc
|
7b5668a6e7
|
include: Make ARRAY_SIZE() available in wine/test.h.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-25 12:09:17 +02:00 |
Matteo Bruni
|
f956200775
|
d3dx9: Allow passes argument to Begin() to be NULL.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-04-18 21:26:00 +02:00 |
Matteo Bruni
|
01e278a309
|
d3dx9: Fix FindNextValidTechnique() when no previous technique is specified.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-03-28 23:05:04 +02:00 |
Matteo Bruni
|
afef57f872
|
d3dx9: Disentangle ID3DXEffectCompiler implementation from struct d3dx9_base_effect.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-03-22 22:06:00 +01:00 |
Matteo Bruni
|
74a02a850c
|
d3dx9/tests: Add a test for FindNextValidTechnique().
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-03-22 22:05:58 +01:00 |
Matteo Bruni
|
ed746aeed4
|
d3dx9/tests: Add a test for D3DXCreateEffectFromFileExW().
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-03-22 22:05:54 +01:00 |
Matteo Bruni
|
f57d316cd3
|
d3dx9/tests: Add a test for texture refcounts and OnLostDevice().
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-03-21 10:14:13 +01:00 |
Matteo Bruni
|
50453644f6
|
d3dx9/tests: Improve a few ok() messages.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-03-21 10:14:08 +01:00 |
Matteo Bruni
|
912a1009c9
|
d3dx9/tests: Cleanup test_createtext() a bit.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-03-14 22:38:53 +01:00 |
David Adam
|
32ffef3333
|
d3dx9: Improve vertices computation in D3DXCreatePolygon().
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-03-14 22:38:43 +01:00 |
Matteo Bruni
|
ae519aff95
|
d3dx9/tests: Add a few missing surface Release() calls.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-03-13 20:58:09 +01:00 |
Matteo Bruni
|
9682095a3b
|
d3dx9/tests: Fix checking for D3DUSAGE_AUTOGENMIPMAP support.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-03-13 20:58:09 +01:00 |
Matteo Bruni
|
e8bef37c57
|
d3dx9/tests: Disable a test crashing on Win10.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-03-13 20:58:09 +01:00 |
Nikolay Sivov
|
c3f92419e8
|
d3dx9: Improve argument validation in CloneEffect().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-03-05 06:58:45 -06:00 |
Alex Henrie
|
07f7022fcc
|
d3dx9/tests: Use true spherical light values and relax expectations.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-01-03 23:26:36 +01:00 |
Michael Stefaniuc
|
c5dfe1b139
|
d3dx9/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-29 19:58:18 +01:00 |
Matteo Bruni
|
72f3227d71
|
d3dx9/tests: Add a test for D3DXGetShader{Input|Output}Semantics().
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-08 10:16:58 +01:00 |
Alex Henrie
|
eaf9a28741
|
d3dx9/tests: Use a helper function to set matrix values in math tests.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-11-10 23:55:16 +01:00 |
Alex Henrie
|
f6fdcc848d
|
d3dx9/tests: Relax D3DXQuaternionToAxisAngle test stringency a bit.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-11-10 23:54:42 +01:00 |
Alex Henrie
|
79b6035441
|
d3dx9/tests: Provide 8 significant digits in matrix reference values.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-11-09 23:35:38 +01:00 |
Alex Henrie
|
4aef54759c
|
d3dx9/tests: Correct Fresnel reference term.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-11-08 21:13:19 +01:00 |
Nikolay Sivov
|
6bae0a003e
|
d3dx9: Implement D3DXFrameFind().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-11-08 20:38:07 +01:00 |
Paul Gofman
|
0778f1c294
|
d3dx9: Fix zero object_id handling in d3dx9_base_effect_get_pass_desc().
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-09-08 07:56:19 +02:00 |
Paul Gofman
|
07cc9acc9f
|
d3dx9: Return E_FAIL from ValidateTechnique() for techniques with unsupported shaders.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-09-08 07:56:15 +02:00 |
Paul Gofman
|
120a83dc03
|
d3dx9/tests: Add test for null shaders in effect.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-09-08 07:56:13 +02:00 |
Paul Gofman
|
6c7c511a27
|
d3dx9: Do not fail effect creation if a shader cannot be created.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-09-01 07:34:15 +02:00 |
Paul Gofman
|
c3677ecfc8
|
d3dx9/tests: Add test for effect with unsupported shader.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-09-01 07:34:13 +02:00 |
Paul Gofman
|
d8723657d2
|
d3dx9/tests: Add more tests for skip_constants effect parameter.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-18 20:43:34 +02:00 |
Paul Gofman
|
4b11a99108
|
d3dx9: Support skip_constants parameter for effect.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-18 20:43:34 +02:00 |
Paul Gofman
|
ec7e766635
|
d3dx9/tests: Add test for skip_constants effect parameter.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-10 22:40:55 +02:00 |
Michael Stefaniuc
|
041a0ff1c0
|
d3dx9/tests: Use string concatenation for a multiline string.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-10 22:40:39 +02:00 |
Paul Gofman
|
4e2c044412
|
d3dx9/tests: Add tests for array of samplers.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-05 20:26:29 +02:00 |
Paul Gofman
|
5cbc84e51e
|
d3dx9/tests: Modify transpose boolean matrix test to reproduce the case of incomplete last row.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-21 23:21:17 +02:00 |
Matteo Bruni
|
df07533a80
|
d3dx9/tests: Avoid SIZE_T in traces.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-12 12:02:52 +02:00 |
Matteo Bruni
|
82029cba2f
|
d3dx9/tests: Add a comment about the negation in boolean constant checks.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-12 12:02:41 +02:00 |
Matteo Bruni
|
26175489ba
|
d3dx9/tests: Fix compilation when the NAN macro is not available.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-12 12:02:24 +02:00 |
Paul Gofman
|
8bc783ef30
|
d3dx9/tests: Add tests for updating boolean matrices on CommitChanges.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-05 19:48:23 +02:00 |
Paul Gofman
|
6930679a90
|
d3dx9/tests: Initialize boolean constants with the inverse of expected result.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-05 19:48:21 +02:00 |
Paul Gofman
|
eea701cca0
|
d3dx9/tests: Factor out test_effect_preshader_compare_pbool_consts() function.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-05 19:48:19 +02:00 |
Paul Gofman
|
2a3ad1d209
|
d3dx9/tests: Factor out test_effect_preshader_clear_pbool_consts() function.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-05 19:48:16 +02:00 |
Paul Gofman
|
7178c16742
|
d3dx9/tests: Extend test for boolean matrix constant setting.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-05 19:48:15 +02:00 |
Paul Gofman
|
b45db52d98
|
d3dx9/tests: Remove a leftover todo_wine_if in test_effect_preshader().
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-05 19:48:13 +02:00 |