Commit Graph

137 Commits

Author SHA1 Message Date
Henri Verbeet 2b9425952a d3dx9/tests: Cleanup expect_plane.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-26 20:33:29 +02:00
Henri Verbeet 7b93124e0e d3dx9/tests: Cleanup expect_color.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-25 20:53:06 +02:00
Henri Verbeet ff3f2ee9b9 d3dx9/tests: Cleanup expect_mat.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-25 20:53:06 +02:00
Stefan Dösinger 4c4649cba4 d3dx9/tests: Use float bit patterns in test_D3DXFloat_Array.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-10 09:49:30 +02:00
Alex Henrie 1370449db8 d3dx9/tests: Fix a copy-paste error in test_D3DXSHMultiply3.
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-02-28 20:39:26 +01:00
Paul Gofman ab78cffea7 d3dx9/tests: Add test for D3DXSHMultiply3 arguments aliasing.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-19 23:29:47 +09:00
Paul Gofman dd79394ccc d3dx9: D3DXQuaternionSquadSetup should support arguments aliasing.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-19 23:29:31 +09:00
Paul Gofman 61b09f3fc7 d3dx9: Add test for D3DXVec2TransformCoord arguments aliasing.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-18 15:06:14 +09:00
Paul Gofman bb9a2e6714 d3dx9: D3DXVec2Transform should support arguments aliasing.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-18 15:06:12 +09:00
Paul Gofman 97bbf747c0 d3dx9: Add test for D3DXPlaneFromPointNormal arguments aliasing.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-18 15:06:07 +09:00
Paul Gofman 1ba9cfb5c3 d3dx9: D3DXVec3Transform should support input and output parameter overlap.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-14 13:13:55 +09:00
Paul Gofman 215e2d7fed d3dx9: D3DXQuaternionToAxisAngle should not crash on NULLs in output parameters.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 23:52:23 +09:00
Frédéric Delanoy 2e5cb7aac8 Assorted spelling/grammar fixes. 2014-04-30 18:34:20 +02:00
Henri Verbeet 3b4b61f03a d3dx9: Avoid LPD3DXMATRIX. 2013-08-21 12:13:56 +02:00
Nozomi Kodama b3dff5b354 d3dx9: Fix the case output = input in D3DXVec3Cross. 2013-06-10 14:24:47 +02:00
Matteo Bruni 3fd07694c4 d3dx9/tests: Don't use an arbitrary number in relative_error macro. 2013-04-10 11:43:27 +02:00
Matteo Bruni 7802ab15ce d3dx9/tests: Raise admitted error a bit in D3DXSHEvalSphericalLight tests. 2013-04-10 11:43:14 +02:00
Nozomi Kodama 574d4cfba9 d3dx9: Floatify fabs into fabsf. 2013-04-09 12:24:10 +02:00
Nozomi Kodama 6d6603b495 d3dx9: Implement D3DXSHEvalHemisphereLight. 2013-04-04 19:27:52 +02:00
Nozomi Kodama 6247dae2ac d3dx9: Implement D3DXSHEvalSphericalLight. 2013-04-04 19:27:23 +02:00
Nozomi Kodama 9731752831 d3dx9: Do not use relative error for small numbers. 2013-04-04 19:27:06 +02:00
Nozomi Kodama 9085f1d27f d3dx9: Implement D3DXSHEvalConeLight. 2013-03-07 17:33:13 +01:00
Nozomi Kodama 5038a7d915 d3dx9: Use const instead of CONST. 2013-02-14 17:32:22 +01:00
Nozomi Kodama 965e27149a d3dx9_36: Fix the case out = in for D3DXSHRotate. 2012-11-13 19:27:04 +01:00
Józef Kucia 3e264ced0f d3dx9: Handle NULL arguments in D3DXVec3Unproject. 2012-11-08 17:21:18 +01:00
Józef Kucia a5d5650730 d3dx9: Handle NULL arguments in D3DXVec3Project. 2012-11-08 17:21:15 +01:00
Nozomi Kodama c59efbed77 d3dx9_36: Add tests for D3DXSHRotateZ. 2012-11-01 19:14:53 +01:00
Józef Kucia 7bfd634286 d3dx9: Handle NULL viewport in D3DXVec3Unproject. 2012-10-29 10:47:04 +01:00
Nozomi Kodama 80b73ffcef d3dx9_36: Remove useless casts. 2012-10-11 21:20:27 +02:00
Nozomi Kodama 46fca31c4f d3dx9_36/tests: Remove useless casts. 2012-10-03 13:10:46 +02:00
Nozomi Kodama 3d5c61cdcd d3dx9_36/tests: Relax an equality between floats. 2012-10-03 13:10:45 +02:00
Nozomi Kodama 9c823d04b6 d3dx9_36/tests: Avoid a potential out of bound access. 2012-10-03 13:10:45 +02:00
Nozomi Kodama 584c24050e d3dx9_36/tests: Speed up some tests. 2012-10-03 13:10:45 +02:00
Nozomi Kodama b8cfe42326 d3dx9_36: Implement D3DXSHMultiply4. 2012-10-03 13:10:45 +02:00
Rico Schüller ec9db0a11f d3dx9: Fix D3DXMatrixAffineTransformation() and add some tests. 2012-10-01 18:49:11 +02:00
Francois Gouget 91c7dca35f d3dx9_36/tests: Remove spaces before '\n's in ok() calls. 2012-09-26 14:40:49 +02:00
Nozomi Kodama 1f85d64b19 d3dx9: Implement D3DXSHRotate. 2012-09-25 11:39:28 +02:00
Nozomi Kodama c69a496461 d3dx9: Implement D3DXSHEvalDirectionalLight. 2012-09-25 11:38:53 +02:00
Detlef Riekenberg feea459238 d3dx9_36/tests: Fix failures on vista x64. 2012-08-14 11:57:57 +02:00
Nozomi Kodama f5714cccbd d3dx9_36: Implementation of D3DXSHRotateZ. 2012-07-19 17:02:01 +02:00
Nozomi Kodama c957f8a921 d3dx9_36: Implementation of D3DXSHEvalDirection. 2012-07-16 16:28:47 +02:00
Nozomi Kodama f757f3fb7d d3dx9: Implementation of D3DXSHMultiply2. 2012-07-16 14:33:43 +02:00
Francois Gouget 691b9b6443 d3dx9_36/tests: Add a trailing '\n' to ok() calls. 2012-07-03 12:03:42 +02:00
Nozomi Kodama e3888ec87c d3dx9_36: Implementation of D3DXSHScale. 2012-06-29 20:41:47 +02:00
Nozomi Kodama b56227cbf1 d3dx9_36: Implementation of D3DXSHDot. 2012-06-28 11:35:25 +02:00
Francois Gouget b2e3e2e943 d3dx9_36/tests: Simplify test_D3DXSHMultiply3(). 2012-06-25 10:33:30 +02:00
Nozomi Kodama 60a0fb30df d3dx9_36: Implementation of D3DXSHMultiply3. 2012-06-18 10:56:48 +02:00
Nozomi Kodama ed7c28353d d3dx9_36: Implementation of D3DXQuaternionSquadSetup. 2012-06-14 19:16:40 +02:00
Nozomi Kodama 4099eb8bbb d3dx9_36: D3DXQuaternionLn computes as if the norm of the input is 1. 2012-06-13 14:50:25 +02:00
Christian Costa a7692beb61 d3dx9_36: Make D3DXVec3Unproject support omission of world matrix + test. 2012-03-14 12:59:08 +01:00
Rico Schüller b83d322dba d3dx9: Implement D3DXSHAdd(). 2011-12-12 10:19:30 +01:00
Stefan Dösinger b97b577e9f d3dx9_36/tests: Make sure NaN and negative NaN have the correct sign bits. 2011-09-21 11:35:43 +02:00
Michael Stefaniuc 977308365d d3dx9_36: Remove casts to the type of the casted expression. 2011-09-20 16:21:43 +02:00
Misha Koshelev 14e93e79d6 d3dx9_36: Use cross-platform versions of infinity and NaN. 2011-07-12 12:31:46 +02:00
Dylan Smith d621accbea d3dx9/tests: Added tests for rounding of denormalized number for D3DXFloat32To16Array. 2011-07-04 13:39:24 +02:00
Dylan Smith cac35191b9 d3dx9: Implement D3DXFloat32To16Array.
Derived from patch submitted by Misha Koshelev.
Corrected rounding of denormalized numbers.
2011-07-04 13:39:15 +02:00
Misha Koshelev a6b40624db d3dx9_36: Implement and add tests for D3DXFloat16To32Array. 2011-07-01 14:39:22 +02:00
Matteo Bruni ffe65c2721 d3dx9/tests: Remove spurious assignment (LLVM/Clang). 2011-02-21 12:44:36 +01:00
Matteo Bruni 8c0a8ac514 d3dx9/tests: Remove a D3DXPlaneNormalize test. 2010-11-23 14:16:22 +01:00
Gerald Pfeifer c45c226de4 d3dx9_36/tests: Remove variable scaling which is not really used from D3DXMatrixTest. 2010-05-10 10:17:14 +02:00
Gerald Pfeifer d30629ff74 d3dx9_36: Remove variable nul which is not really used from D3DXVector4Test. 2010-04-26 07:02:11 -05:00
David Adam 202f826d02 d3dx9/tests: 1 must be a float. 2009-12-22 14:12:43 +01:00
David Adam 3ff4d07c40 d3dx9/tests: Check a relative error instead of an absolute error. 2009-12-15 11:45:09 +01:00
David Adam 9ec5d4388d d3dx9: Add forgotten copyrights. 2009-07-21 10:46:32 +02:00
David Adam 94c7ab72f5 d3dx9: Fix D3DXMatrixStack_RotateAxisLocal to make tests pass in Windows. 2009-07-20 12:18:26 +02:00
David Adam 02758ea8f8 d3dx9: Fix D3DXMatrixStack_RotateAxis to make tests pass in Windows. 2009-07-20 12:18:21 +02:00
David Adam 0729e91e21 d3dx9: Fix D3DXMatrixStack_MultMatrixLocal to make tests pass in Windows. 2009-07-20 12:18:15 +02:00
David Adam 3b6cbaeb03 d3dx9: Fix D3DXMatrixStack_MultMatrix to make tests pass in Windows. 2009-07-20 12:18:09 +02:00
David Adam c88860a221 d3dx9: Fix D3DXMatrixStack_LoadMatrix to make tests pass in Windows. 2009-07-20 12:18:02 +02:00
David Adam 8823decbd4 d3dx9: Fix D3DXVec4Normalize to make tests pass in Windows. 2009-07-20 12:17:53 +02:00
David Adam 878bcb519c d3dx9: Fix D3DXVec3TransformCoord to make tests pass in Windows. 2009-07-20 12:17:47 +02:00
David Adam e37aff31b4 d3dx9: Fix D3DXVec2TransformCoord to make tests pass in Windows. 2009-07-20 12:17:39 +02:00
David Adam 0788ac38ab d3dx9: Fix D3DXQuaternionNormalize to make tests pass in Windows. 2009-07-17 12:37:43 +02:00
David Adam 831d6b5886 d3dx9: Fix D3DXQuaternionInverse to make tests pass in Windows. 2009-07-17 12:37:36 +02:00
David Adam f24bf3e4bd d3dx9: Remove a failing test in Windows. 2009-07-16 12:48:06 +02:00
David Adam a3634e2ca3 d3dx9: Fix D3DXQuaternionToAxisAngle to make tests pass in Windows. 2009-07-16 12:48:02 +02:00
David Adam e5753acee5 d3dx9: Merge d3dx8 math tests into d3dx9. 2009-07-13 10:54:10 +02:00
David Adam 3f1a7abf48 d3dx9_36: Fix failing tests in Windows. 2009-02-02 15:21:44 +01:00
David Adam be964897aa d3dx9: Fix falling tests in native windows. 2009-01-13 16:17:02 +01:00
David Adam e1fefd57e7 d3dx9_36/test: Remove an unconsistent test. 2009-01-12 13:10:43 +01:00
Francois Gouget 90b04c7b93 d3dx9_36/tests: Fix compilation on systems that don't support nameless unions. 2008-11-17 15:08:55 +01:00
David Adam 09c6caea06 d3dx8: Implement D3DXMatrixTransformation2D. 2008-11-13 14:21:04 +01:00
David Adam 4f1d5c26d1 d3dx8: Implement D3DXMatrixAffineTransformation2D. 2008-11-13 14:20:41 +01:00
Francois Gouget 9a13920696 d3dx9_36: Fix compilation on systems that don't support nameless unions. 2008-09-15 11:23:51 +02:00
Luis C. Busquets Pérez 54d920ae91 d3dx9: Add tests for D3DXMatrixDecompose. 2008-09-12 13:40:43 +02:00
Philip Nilsson d36df763c7 d3dx9: Implement D3DXPlaneTransformArray. 2008-07-25 14:09:15 +02:00
Philip Nilsson b67290b99a d3dx9/tests: Test the D3DXVec*Array functions. 2008-03-21 12:52:54 +01:00