Commit Graph

299 Commits

Author SHA1 Message Date
Henri Verbeet db9e7836fa d3dx9/tests: Add some tests for loading luminance/alpha data. 2012-03-09 11:32:12 +01:00
Jozef Kucia fde2abbabf d3dx9/tests: Don't leak D3DXBuffer. 2012-03-09 11:29:32 +01:00
Rico Schüller 49ebbd0230 d3dx9/tests: Add invalid parameter test for ID3DXEffect. 2012-01-27 18:05:50 +01:00
Rico Schüller cf512fdf13 d3dx9/tests: Add effect parameter value SetMatrixTransposeArray() test. 2012-01-27 18:05:50 +01:00
Rico Schüller 0ae7c573b1 d3dx9/tests: Add effect parameter value SetMatrixTranspose() test. 2012-01-27 18:05:50 +01:00
Rico Schüller 3efd2f9a1b d3dx9/tests: Add effect parameter value SetMatrixArray() test. 2012-01-26 17:45:37 +01:00
Rico Schüller 52e1409111 d3dx9/tests: Add effect parameter value SetMatrix() test. 2012-01-26 17:45:34 +01:00
Rico Schüller d0fbe7f5a5 d3dx9/tests: Add effect parameter value SetVectorArray() test. 2012-01-26 17:45:29 +01:00
Rico Schüller 9c63b11372 d3dx9/tests: Add effect parameter value SetVector() test. 2012-01-26 17:45:25 +01:00
Rico Schüller 483ae58ef2 d3dx9/tests: Add effect parameter value SetFloatArray() test. 2012-01-24 16:57:32 +01:00
Rico Schüller 88c996b3c3 d3dx9/tests: Add effect parameter value SetFloat() test. 2012-01-24 16:57:32 +01:00
Rico Schüller e892f06175 d3dx9/tests: Add effect parameter value SetIntArray() test. 2012-01-24 16:57:32 +01:00
Rico Schüller 51b9699134 d3dx9/tests: Add effect parameter value SetInt() test. 2012-01-24 16:57:32 +01:00
Rico Schüller a90eacab1a d3dx9/tests: Add effect parameter value SetBoolArray() test. 2012-01-24 16:57:32 +01:00
Rico Schüller 7825fa833f d3dx9/tests: Reset effect parameter value data after each try. 2012-01-12 16:10:49 +01:00
Rico Schüller 5f01e93014 d3dx9/tests: Add effect parameter value SetBool() test. 2012-01-12 16:10:45 +01:00
Rico Schüller cb8c013366 d3dx9/tests: Add special handling test. 2012-01-12 16:10:40 +01:00
Rico Schüller 834d797339 d3dx9/tests: Add effect parameter value object test. 2012-01-12 16:10:34 +01:00
Rico Schüller a3d3834233 d3dx9/tests: Add effect parameter value int test. 2012-01-12 16:10:29 +01:00
Henri Verbeet bd3b0ba697 d3d9: Don't expose wined3d internal flags to the application. 2012-01-11 17:47:18 +01:00
Rico Schüller d0ede16ee4 d3dx9/tests: Add effect parameter value GetMatrixTransposeArray() test. 2011-12-27 16:55:05 +01:00
Rico Schüller c7d2159a78 d3dx9/tests: Add effect parameter value GetMatrixTranspose() test. 2011-12-27 16:55:05 +01:00
Rico Schüller 9be82e3175 d3dx9/tests: Add effect parameter value GetMatrixArray() test. 2011-12-27 16:55:04 +01:00
Rico Schüller f856afe336 d3dx9/tests: Add effect parameter value GetMatrix() test. 2011-12-27 16:55:04 +01:00
Rico Schüller 0c1574bd5e d3dx9/tests: Add effect parameter value GetVectorArray() test. 2011-12-22 17:19:18 +01:00
Rico Schüller fa93df1052 d3dx9/tests: Add effect parameter value GetVector() test. 2011-12-22 17:19:17 +01:00
Rico Schüller 828b82780d d3dx9/tests: Add effect parameter value GetFloatArray() test. 2011-12-22 17:19:17 +01:00
Rico Schüller 47ae7db16a d3dx9/tests: Add effect parameter value GetFloat() test. 2011-12-22 17:19:17 +01:00
Rico Schüller 5341b5518b d3dx9/tests: Add effect parameter value GetIntArray() test. 2011-12-21 18:04:48 +01:00
Rico Schüller d984a524e7 d3dx9/tests: Add effect parameter value GetInt() test. 2011-12-21 18:04:45 +01:00
Rico Schüller cb664abfa0 d3dx9/tests: Add effect parameter value GetBoolArray() test. 2011-12-21 18:04:39 +01:00
Rico Schüller bdf8e4642a d3dx9/tests: Add effect parameter value GetBool() test. 2011-12-21 18:04:34 +01:00
Rico Schüller 8a58fb3c84 d3dx9/tests: Add effect parameter value GetValue() test. 2011-12-21 18:04:18 +01:00
Michael Mc Donnell 50f785ef11 d3dx9/tests: Add a D3DXValidMesh test. 2011-12-19 20:15:53 +01:00
Rico Schüller b83d322dba d3dx9: Implement D3DXSHAdd(). 2011-12-12 10:19:30 +01:00
Michael Mc Donnell 8f5543c34e d3dx9: Return error if D3DXMESH_VB_SHARE and new declaration. 2011-11-15 19:37:34 +01:00
Michael Mc Donnell be8dd2e876 d3dx9/tests: Show D3DXMESH_VB_SHARE with new declaration should fail. 2011-11-15 19:37:34 +01:00
Michael Mc Donnell 656e8a8726 d3dx9/tests: Test for D3DXMESH_VB_SHARE option. 2011-11-15 19:37:33 +01:00
Francois Gouget 9b5ed14bd8 d3dx9_36/tests: Add a trailing '\n' to an ok() call. 2011-10-27 14:20:05 +02:00
Michael Mc Donnell da6363e377 d3dx9/tests: Implemented CloneMesh test. 2011-10-26 17:57:06 +02:00
Rico Schüller 5b7834851f d3dx9/tests: Fix typo. 2011-10-25 16:57:26 +02:00
Rico Schüller be68d56efc d3dx9: Improve argument check in D3DXFindShaderComment(). 2011-10-25 16:57:26 +02:00
Michael Stefaniuc 4906486959 d3dx9_36/tests: Avoid using fmaxf. 2011-09-27 16:24:25 +02:00
Michael Mc Donnell 3ad5976407 d3dx9_36/tests: Fixed adjacency double free (valgrind). 2011-09-26 18:00:07 +02:00
Michael Mc Donnell 97e621bd53 d3dx9/test: Test for D3DXWeldVertices. 2011-09-23 12:59:16 +02:00
Stefan Dösinger 3b9f88555f d3dx9_36/tests: Account for NP2 limitations in a texture test. 2011-09-21 11:35:43 +02: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
Rico Schüller 7cfdaedd3e d3dx9: Use the original bytecode in D3DXGetShaderSamplers() instead of using a constant table. 2011-09-16 17:53:56 +02:00
André Hentschel 3ddda7b66b d3dx9_36/tests: Fix printing a NULL string. 2011-08-30 11:53:04 +02:00
Marcus Meissner 9ac18eabb9 d3dx9_36: Fixed memset of a -2 32bit value (Coverity). 2011-08-22 16:14:31 +02:00
Michael Mc Donnell 507daa2154 d3dx9: Implemented ConvertPointRepsToAdjacency. 2011-08-02 21:16:38 +02:00
Michael Mc Donnell 5552613b81 d3dx9/tests: Implemented ConvertPointRepsToAdjacency test. 2011-08-02 21:16:34 +02:00
Michael Mc Donnell d1e328a0f5 d3dx/tests: Fixed double free (valgrind). 2011-07-26 16:34:25 +02:00
Rico Schüller c42ee0339a d3dx9: Implement D3DXGetShaderSamplers(). 2011-07-18 16:23:29 +02:00
Michael Mc Donnell ea5ed35edf d3dx9: Implemented ConvertAdjacencyToPointReps mesh method. 2011-07-15 14:45:21 +02:00
Michael Mc Donnell 7a1b18a742 d3dx9/tests: Implemented ConvertAdjacencyToPointReps test. 2011-07-15 14:45:07 +02:00
Misha Koshelev 14e93e79d6 d3dx9_36: Use cross-platform versions of infinity and NaN. 2011-07-12 12:31:46 +02:00
Francois Gouget 076e1cf085 d3dx9_36/tests: Fix compilation on systems that don't support nameless structs/unions. 2011-07-11 18:32:16 +02:00
Charles Welton 84c50bdd33 d3dx9: Implemented tests for ID3DXLine's Begin and End methods. 2011-07-06 16:47:53 +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
Dylan Smith 3d7af6a334 d3dx9/tests: Fix comparison that expects NAN, since NAN != NAN. 2011-06-27 16:41:05 -05:00
Francois Gouget 95d769a047 Assorted spelling fixes. 2011-06-27 13:09:47 -05:00
Francois Gouget 49484479bd d3dx9_36/tests: Add a trailing '\n' to an ok() call. 2011-06-27 13:09:47 -05:00
Francois Gouget 71e41b81dd d3dx9_36: Fix compilation on systems that don't support nameless structs/unions. 2011-06-27 13:09:21 -05:00
Dylan Smith f73e0f05ef d3dx9/tests: Avoid using FP_NAN for portability. 2011-06-24 13:25:48 -05:00
Dylan Smith 01ff07e2e1 d3dx9/tests: Added tests for D3DXCreateSkinInfo. 2011-06-23 09:59:40 +02:00
Travis Athougies 7a8a7b920e d3dx9_36/tests: Added tests for constant table samplers. 2011-06-23 09:47:34 +02:00
Travis Athougies 4eeba43168 d3dx9_36/tests: Fixed constant table sizes in shader.c. 2011-06-23 09:47:33 +02:00
Travis Athougies ab5e8aed5a d3dx9_36/tests: Added tests for ID3DXConstantTable_Set* functions. 2011-06-22 16:13:51 +02:00
Michael Mc Donnell 39d4656b2a d3dx9: Implement UpdateSemantics mesh method. 2011-06-22 11:29:23 +02:00
Michael Mc Donnell 4df270a8bd d3dx9/tests: Add UpdateSemantics test. 2011-06-22 11:28:37 +02:00
Charles Welton 754df82101 d3dx9/tests: Add tests for ID3DXLine_GetDevice and release methods. 2011-06-17 12:35:56 +02:00
Francois Gouget 07436dd465 d3dx9_36/tests: Add a '\n' to a trace() call. 2011-06-13 11:32:58 +02:00
Dylan Smith 4a32062f28 d3dx9/tests: Add tests for D3DXLoadMeshFromXInMemory. 2011-06-08 17:08:58 +02:00
Dylan Smith bbc009f452 d3dx9/tests: Add texture coordinates and vertex colors in X file. 2011-06-07 18:08:55 +02:00
Dylan Smith 42f9f15cd2 d3dx9/tests: Test effect generation and material loading for X files. 2011-06-07 18:07:15 +02:00
Dylan Smith 420947c531 d3dx9/tests: Add tests for D3DXLoadMeshHierarchyFromXInMemory. 2011-06-07 18:03:41 +02:00
Dylan Smith f272fb2921 d3dx9/tests: Correct ok messages to be consistent with their test. 2011-05-20 12:36:17 +02:00
Dylan Smith 147e120049 d3dx9/tests: Fix a normal comparison for triangles with zero area. 2011-05-20 10:34:46 +02:00
Rico Schüller 1ac8f4d472 d3dx9/tests: Add ID3DXEffect::Get/SetStateManager() test. 2011-05-11 18:02:27 +02:00
Francois Gouget 5920de5ffb Assorted spelling and case fixes. 2011-05-09 12:09:27 +02:00
Dylan Smith b2dac1df27 d3dx9: Implement GetNumBytesPerVertex using the vertex declaration.
If a declaration without a corresponding FVF is used to create the mesh,
then its declaration must be used to get the vertex size.
2011-04-28 11:10:00 +02:00
Dylan Smith 96d5d06f2b d3dx9: D3DXCreateMesh rejects declarations with non-zero streams. 2011-04-28 11:09:23 +02:00
Dylan Smith 46a96b139e d3dx9/tests: Added tests for ID3DXMesh::GenerateAdjacency. 2011-04-27 11:49:36 +02:00
Rico Schüller 670f0efe5c d3dx9: Add ID3DXBuffer test. 2011-04-04 13:43:15 +02:00
Rico Schüller 9ea9a053b9 d3dx9/tests: Add ID3DXEffectCompiler test. 2011-03-29 18:05:57 +02:00
Rico Schüller f1bfecd616 d3dx9/tests: Add ID3DXEffect::GetPool() and ID3DXEffect::GetDevice() tests. 2011-03-29 18:05:53 +02:00
Rico Schüller 68f11dabd7 d3dx9/tests: Add refcount test for the device. 2011-03-29 17:48:42 +02:00
Rico Schüller eb1faf6155 d3dx9: Handle pool and device in ID3DXEffect. 2011-03-29 17:48:37 +02:00
Francois Gouget cb5e480faf d3dx9_36/tests: Replace a malloc() with HeapAlloc()+HeapFree(). 2011-03-16 14:14:25 +01:00
Dylan Smith ed3ce3c91b d3dx9/tests: Partially test front and back faces for D3DXCreateText. 2011-03-10 16:30:16 +01:00
Dylan Smith b06a6c84ac d3dx9/tests: Added outline comparison tests for D3DXCreateText. 2011-03-10 16:30:15 +01:00
Dylan Smith eec288a4c5 d3dx9/tests: Add basic tests for D3DXCreateText. 2011-03-10 16:30:15 +01:00
Francois Gouget 41663974ad d3dx9_36/tests: Add a trailing '\n' to ok() calls. 2011-03-07 11:08:56 +01:00
David Adam 23faba7eb1 d3dx9_36: Add a test for D3DXCreateBox. 2011-03-04 16:26:01 +01:00
Matteo Bruni ffe65c2721 d3dx9/tests: Remove spurious assignment (LLVM/Clang). 2011-02-21 12:44:36 +01:00
Austin English e8a2fa28ea d3dx9_36/tests: Free memory after use (Valgrind). 2011-02-17 17:27:30 +01:00