Commit Graph

418 Commits

Author SHA1 Message Date
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
David Adam e57bbaab91 d3dx9_36: Add a few tests for D3DXCreateBox. 2011-02-15 17:11:50 +01:00
Austin English 517f6aa526 d3dx9_36: Make sure return values are used (LLVM/Clang). 2011-02-09 14:24:52 -06:00
Austin English f9facad235 d3dx9_36/tests: Remove unused variable assignments (LLVM/Clang). 2011-02-07 10:13:46 -06:00
Michael Stefaniuc 134cb5bfef d3dx9_36/tests: COM cleanup for the ID3DXInclude iface. 2011-01-26 15:00:13 +01:00
Travis Athougies d2055e6ea9 d3dx9_36/tests: Extended ID3DXConstantTable tests. 2010-12-02 12:47:42 +01:00
Matteo Bruni 9867c39133 d3dx9/tests: Fix a D3DXCheckTextureRequirements test failing on Windows. 2010-11-24 18:27:31 +01:00
Matteo Bruni 9517305c03 d3dx9/tests: Fix some tests to take into account POW2 texture capability flags. 2010-11-24 17:59:59 +01:00
Matteo Bruni 8c0a8ac514 d3dx9/tests: Remove a D3DXPlaneNormalize test. 2010-11-23 14:16:22 +01:00
Matteo Bruni 892502479c d3dx9: Implement D3DXFillVolumeTexture function. 2010-11-18 14:08:56 +01:00
Matteo Bruni 8f6cf460be d3dx9: Implement D3DXFillCubeTexture function. 2010-11-18 14:08:53 +01:00
Matteo Bruni bffbf3460b d3dx9: Implement D3DXFillTexture function. 2010-11-18 14:08:50 +01:00
Matteo Bruni c1843c8779 d3dx9: Implement D3DXCheckVolumeTextureRequirements. 2010-11-09 17:08:21 +01:00
Matteo Bruni 363d180a54 d3dx9: Skip D3DXCheckCubeTextureRequirement test if not supported. 2010-11-09 17:08:21 +01:00
Matteo Bruni 6933766531 d3dx9: Implement D3DXCheckCubeTextureRequirements. 2010-11-04 16:29:57 +01:00
Matteo Bruni a875f38301 d3dx9: Implement D3DXFilterTexture for cube textures. 2010-11-04 16:29:52 +01:00
Matteo Bruni 550abd41a2 d3dx9: Fix D3DXFilterTexture return value. 2010-10-18 11:45:26 +02:00
Matteo Bruni ebbf519b78 d3dx9: Search for a compatible pixel format in D3DXCheckTextureRequirements. 2010-10-18 11:45:21 +02:00
Christian Costa 128cf64371 d3dx9: Constant table parsing foundations. 2010-10-13 12:03:05 +02:00
Matteo Bruni b4736bd767 d3dx9/tests: Fix a shader test failure. 2010-10-13 12:01:03 +02:00
Misha Koshelev 09af2a2bf9 d3dx9_36: Implement D3DXCreateCylinder. 2010-09-28 17:33:17 +02:00
Misha Koshelev 63dbf6ee3f d3dx9_36/tests: Add tests for D3DXCreateCylinder. 2010-09-27 14:10:46 +02:00
Misha Koshelev d7d9cd5eb2 d3dx9_36: Implement D3DXCreateSphere. 2010-09-24 15:45:54 +02:00
Misha Koshelev e4182ead47 d3dx9_36: Implement D3DXCreateMeshFVF. 2010-09-23 19:22:41 +02:00
Misha Koshelev a6f2c003a3 d3dx9_36: D3DXDeclaratorFromFVF returns D3DERR_INVALIDCALL when an invalid declarator is passed. 2010-09-23 19:22:38 +02:00
Misha Koshelev af0c074d7b d3dx9_36: Implement D3DXCreateMesh and initial ID3DXMesh methods. 2010-09-21 20:16:16 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Misha Koshelev fffe37aa00 d3dx9_36: Implement D3DXGetDeclLength with tests. 2010-09-16 11:18:58 -05:00
Matteo Bruni 8d7a0d5027 d3dx9: D3DXPreprocessShader implementation with tests. 2010-09-13 14:43:53 -05:00
Owen Rudge 0d6f4d2406 d3dx9/tests: Add D3DXCreateTextureFromResource tests. 2010-09-09 12:44:48 +02:00
Matteo Bruni d82255575b d3dx9: Fix D3DXAssembleShader tests. 2010-09-08 19:54:29 +02:00
Misha Koshelev b9b9d7ccca d3dx9_36: Fix the D3DXCreateMesh() prototype. 2010-09-08 13:31:03 +02:00
Misha Koshelev 5fa3a6cf78 d3dx9: Implement D3DXFVFFromDeclarator. 2010-09-06 19:45:47 +02:00
Owen Rudge 258dba1a52 d3dx9: Implement D3DXLoadSurfaceFromFileInMemory. 2010-09-01 14:01:02 +02:00
Henri Verbeet ff7dc44525 d3dx9_36: Implement D3DXDeclaratorFromFVF(). 2010-08-27 11:58:57 +02:00
Henri Verbeet 79e4f66090 d3dx9_36/tests: Add some more FVF position handling tests. 2010-08-27 11:58:50 +02:00
Henri Verbeet 6e518a1d06 d3dx9_36/tests: Cleanup / simplify test_fvf_decl_conversion(). 2010-08-27 11:58:43 +02:00
Henri Verbeet 1bfd89986c d3dx9_36/tests: Avoid a redundant vertex declaration copy in test_decl_to_fvf(). 2010-08-26 12:41:58 +02:00
Henri Verbeet 5ed9403c74 d3dx9_36: Fix the D3DXFVFFromDeclarator() prototype.
The current version matches MSDN, but not the actual SDK header.
2010-08-26 12:41:53 +02:00
Matteo Bruni 53a15436f8 d3dcompiler: Move D3DAssemble tests from d3dx9_36. 2010-08-25 17:35:19 +02:00
Henri Verbeet 5655c6f0bb d3dx9_36/tests: Use the proper D3DFVF_PSIZE constant in test_fvf_decl_conversion(). 2010-08-25 11:56:59 +02:00
Henri Verbeet bcd452ab82 d3dx9_36/tests: Remove a (mostly) redundant test. 2010-08-25 11:56:50 +02:00
Misha Koshelev 46050fb377 d3dx9: Add tests for FVF <-> declaration conversion. 2010-08-19 17:32:18 +02:00
Tony Wasserka 1905e93b54 d3dx9: Implement ARGB point filtering in D3DXLoadSurfaceFromMemory. 2010-08-04 17:49:43 +02:00
Tony Wasserka 5bdfd877a7 d3dx9: Return D3DERR_INVALIDCALL in D3DXLoadSurfaceFromMemory if pDestRect is invalid. 2010-08-04 17:48:45 +02:00
Misha Koshelev bf46b4fdfc d3dx9: Add stub and tests for D3DXCreateMesh. 2010-08-04 13:19:00 +02:00
Henri Verbeet 24f522c520 d3dx9_36/tests: Avoid the non-portable NAN macro. 2010-08-03 11:06:14 +02:00
Misha Koshelev cc1738ad3c d3dx9: Complete test for D3DXCreateSphere. 2010-08-02 15:14:41 +02:00
Matteo Bruni 1b3376982d d3dx9: Implement D3DXAssembleShaderFromFile. 2010-07-29 17:48:20 +02:00
Matteo Bruni 2a62616ac7 d3dx9: Handle parent_data parameter of D3DXInclude.Open() function. 2010-07-29 17:48:09 +02:00
Owen Rudge 54f049a656 d3dx9: Add basic implementation of D3DXFilterTexture, plus tests. 2010-07-24 11:16:43 +02:00
Owen Rudge 30d5e375e6 d3dx9: Implement D3DXCreateTexture plus tests. 2010-07-24 11:16:37 +02:00
Owen Rudge a9fe0ccbd2 d3dx9/tests: Implement additional texture requirement tests. 2010-07-24 11:16:24 +02:00
Owen Rudge b5c7675dd3 d3dx9: Implement D3DXCheckTextureRequirements. 2010-07-24 11:16:18 +02:00
Owen Rudge 79690ab1ea d3dx9/tests: Add beginning of general tests for texture functions. 2010-07-22 16:27:52 +02:00
Matteo Bruni d567a030ec d3dx9: Shader assembler <= ps_1_3 support. 2010-07-22 10:11:14 +02:00
Matteo Bruni 383a7fe3b1 d3dx9: Fix dst register handling in ps_1_4. 2010-07-22 10:10:53 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Matteo Bruni bfa3999284 d3dx9: Shader assembler ps_1_4 support. 2010-07-20 16:29:45 +02:00
Misha Koshelev 242b4f3fe8 d3dx9: Add stub and basic test for D3DXCreateSphere. 2010-07-19 15:47:28 +02:00
Matteo Bruni c2b0f200fa d3dx9: Check dcl input instruction syntax against shader version. 2010-07-19 15:10:16 +02:00
David Adam 4771ee2c5f d3dx9_36/test: Fix a copy/paste typo. 2010-07-09 09:52:15 +02:00
Misha Koshelev cd72aef038 d3dx9: Test penultimate declaration element in D3DXDeclaratorFromFVFTest. 2010-07-07 17:38:15 +02:00
Francois Gouget 7649c75b40 Assorted typo and spelling fixes. 2010-06-24 10:37:05 +02:00
Matteo Bruni 5a5844d458 d3dx9: Disallow sampler declarations where not supported. 2010-06-10 17:17:57 +02:00
Matteo Bruni a74978dfef d3dx9: Check register type in dcl input instruction. 2010-06-10 17:17:57 +02:00
Matteo Bruni 5bb403ceb2 d3dx9: Allow sampler declaration without sampler type. 2010-06-10 17:17:57 +02:00
Matteo Bruni 2fa119f765 d3dx9: Accept texture coordinate registers in dcl instruction. 2010-06-09 20:20:58 +02:00
Matteo Bruni 00951f84ed d3dx9: Support ps_2_0-style dcl instruction in the shader assembler. 2010-06-09 20:20:58 +02:00
Matteo Bruni 8094c5563e d3dx9: Allow D3DXAssembleShader calls with NULL parameters. 2010-06-07 13:52:39 +02:00
Matteo Bruni 25d4fe6817 d3dx9: Allow modifiers on the ps dcl sampler instruction. 2010-05-31 16:43:49 +02:00
Matteo Bruni 7de630ef2f d3dx9: Allow modifiers on the ps dcl input instruction. 2010-05-31 16:43:46 +02:00
Matteo Bruni 913278c5cb d3dx9: Shader assembler vs_1_0 and vs_1_1 support. 2010-05-27 14:46:42 +02:00
Matteo Bruni 084d5f1f6c d3dx9: Stricter checks for relative addressing in the shader assembler. 2010-05-25 12:13:24 +02:00
Matteo Bruni 5786d3a0c7 d3dx9: Shader assembler ps_2_x support. 2010-05-21 18:58:05 +02:00
Matteo Bruni ce3e846f3b d3dx9: Add some more tests on register number checking. 2010-05-21 18:58:05 +02:00
Matteo Bruni 5050f7c8d2 d3dx9: Shader assembler vs_2_x support. 2010-05-21 18:58:05 +02:00
Matteo Bruni 961db7964d d3dx9: Check for oCx register number. 2010-05-21 18:58:04 +02:00
Matteo Bruni 1d3f462fef d3dx9: Add missing texkill instruction parsing. 2010-05-21 18:58:04 +02:00
Matteo Bruni 5cc00e82b6 d3dx9: Shader assembler ps_3_0 support. 2010-05-19 16:58:00 +02:00
Matteo Bruni c1f7faca45 d3dx9: Add some version-specific checks in the shader assembler. 2010-05-18 18:42:09 +02:00
Matteo Bruni dc1fa014ac d3dx9: Add DEF instruction support in the shader assembler. 2010-05-17 12:42:32 +02:00
Matteo Bruni 745b5fe8f1 d3dx9: Add sampler dcl instruction support to the shader assembler. 2010-05-13 19:44:13 +02:00
Matteo Bruni efec8bb361 d3dx9: Complete output dcl instruction support. 2010-05-13 19:44:01 +02:00
Matteo Bruni b627d13ea8 d3dx9: Add output dcl instruction partial support to the shader assembler. 2010-05-13 19:43:55 +02: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
Matteo Bruni fb3ee6e0a6 d3dx9: Support some more vs_3_0 instructions in the shader assembler. 2010-05-06 14:45:16 +02:00
Matteo Bruni 399bde576e d3dx9: Add relative addressing support to the shader assembler. 2010-05-06 14:45:06 +02:00
Matteo Bruni ce3c1dfcb6 d3dx9: Add source register modifiers (sm 2+) support to the shader assembler. 2010-04-28 15:04:40 -05:00
Matteo Bruni 9019267bfa d3dx9: Add swizzle and writemask support to the shader assembler. 2010-04-28 15:04:40 -05:00
Gerald Pfeifer d30629ff74 d3dx9_36: Remove variable nul which is not really used from D3DXVector4Test. 2010-04-26 07:02:11 -05:00
Tony Wasserka 7746136f9a d3dx9: Add tests for D3DXDeclaratorFromFVF. 2010-04-20 18:13:56 +02:00
Christian Costa d862b40aeb d3dx9_36: Check wnd just after CreateWindow. Remove useless wnd check before calling DestroyWindow. 2010-04-15 14:21:07 +02:00
Christian Costa 79b8de1263 d3dx9_36/tests: Move surface tests into surface.c. 2010-04-14 18:00:48 +02:00
Christian Costa 3a98a6295a d3dx9_36: Implement D3DXGetImageInfoFromFileInMemory using WindowsCodecs (based on work from Tony Wasserka). 2010-04-09 11:42:10 +02:00
Christian Costa cf2315bd52 d3dx9_36: Implement D3DXCreateLine and add stubbed interface for ID3DXLine + tests. 2010-04-02 10:45:22 +02:00
Matteo Bruni 18c6f23a94 d3dx9: Implement a basic bytecode writer.
Now the shader assembler is structurally complete and it correctly
assembles one trivial shader program.
2010-03-30 15:52:57 +02:00
Matteo Bruni 95afbeadf5 d3dx9: Implement D3DXAssembleShader function, really basic shader assembler.
Currently it only accepts a minimal subset of the syntax (e.g. just an
instruction and two register types supported) and doesn't produce any
real output (i.e. shader bytecode).
2010-03-30 15:52:57 +02:00
Christian Costa b5f7ca9ed9 d3dx9_36: Implement D3DXCreateEffectPool and ID3DXEffectPool interface. 2010-03-25 10:01:16 +01:00
Christian Costa 4082920c3a d3dx9_36: Add stubbed interface for ID3DXEffect. 2010-03-22 12:16:15 +01:00
Francois Gouget 3428b94a8d Assorted spelling and case fixes. 2010-03-22 10:49:13 +01:00
Christian Costa 70b79445f6 d3dx9_36: Implement ID3DXConstantTableImpl_GetDesc + tests. 2010-03-19 13:16:06 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Christian Costa e6d540d5c8 d3dx9_36/tests: Fix contant table header in ctab data. 2010-03-15 13:19:08 +01:00
Christian Costa 4072edc111 d3dx9_36: Find, store and enable retreival of CTAB comment data in shader (based on code from Luis Busquets). 2010-03-01 14:03:00 +01:00
Christian Costa ea50ef8e08 d3dx9_36: Implement D3DXFindShaderComment (based on code from Luis Busquets) + tests. 2010-03-01 13:57:01 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01: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
Matteo Bruni c6af1f5cd4 d3dx9: Add D3DXAssembleShader tests. 2009-10-27 13:57:31 +01:00
Tony Wasserka 7f8e4e275d d3dx9: Add tests for ARGB pixel format conversion in D3DXLoadSurfaceFromMemory. 2009-10-16 17:32:46 +02:00
Alexandre Julliard fa6ffb4d5d Fix empty function prototypes. 2009-10-07 12:24:53 +02: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 35ada0dc2d d3dx9: Merge d3dx8 mesh tests into d3dx9. 2009-07-13 10:52:02 +02:00
David Adam de0b3b21d5 d3dx9_36: Fix the sprite tests to make them pass in Windows. 2009-07-06 14:35:25 +02:00
David Adam db41287844 d3dx9_36: Fix tests to make them pass in Windows. 2009-07-06 14:35:25 +02:00
Tony Wasserka 3db6a67160 d3dx9: Add tests for D3DXLoadSurfaceFromSurface. 2009-06-26 14:39:55 +02:00
Tony Wasserka be8afaff68 d3dx9: Add tests for D3DXLoadSurfaceFromMemory. 2009-06-26 14:39:50 +02:00
Tony Wasserka a144e4ac48 d3dx9: Add tests for D3DXLoadSurfaceFromFileInMemory. 2009-06-26 14:39:45 +02:00
Tony Wasserka e8c7a474ed d3dx9: Add tests for D3DXLoadSurfaceFromResource. 2009-06-26 14:39:40 +02:00
Tony Wasserka 345fc8a965 d3dx9: Add tests for D3DXLoadSurfaceFromFile. 2009-06-26 14:39:35 +02:00
Tony Wasserka 0ac20c4bd3 d3dx9: Add tests for basic ID3DXFont functions. 2009-06-24 11:32:09 +02:00
Henri Verbeet 68f20f157e d3dx9_36: Add a test for D3DXGetDeclVertexSize(). 2009-06-19 13:52:54 +02:00
Tony Wasserka e6ece9ee4a d3dx9: Test return codes of the D3DXGetImageInfo functions. 2009-06-05 15:19:56 +02:00
Tony Wasserka f9cf3ab1a0 d3dx9: Add ID3DXSprite tests. 2009-03-09 13:28:55 +01: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
Luis Busquets e42d932c85 d3dx9: Add a test for D3DXGetShaderVersion(). 2008-07-21 12:57:36 +02:00
Luis Busquets 9e2b04893c d3dx9: Add a test for D3DXGetShaderSize(). 2008-07-16 19:56:24 +02:00
Philip Nilsson b67290b99a d3dx9/tests: Test the D3DXVec*Array functions. 2008-03-21 12:52:54 +01:00