Commit Graph

460 Commits

Author SHA1 Message Date
Francois Gouget 91c7dca35f d3dx9_36/tests: Remove spaces before '\n's in ok() calls. 2012-09-26 14:40:49 +02:00
Detlef Riekenberg a695062447 d3dx9_36/tests: Fix copy & paste error in ok messages. 2012-09-26 10:59:00 +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
Christian Costa 12d11833f7 d3dx9_36: Cube texture can be loaded as a simple texture. The first face texture is taken in that case. 2012-09-24 22:27:42 +02:00
Józef Kucia 94ab09a226 d3dx9/tests: Add a more detailed test for saving a surface to a DDS file. 2012-09-24 22:27:29 +02:00
Józef Kucia bf4201ea58 d3dx9: Implement the support for saving a surface to a DDS file. 2012-09-24 22:27:29 +02:00
Francois Gouget ae3a919ba0 d3dx9_36/tests: Fix compilation on systems that don't support nameless structs or unions. 2012-09-24 10:03:37 +02:00
Rico Schüller b999ab16b3 d3dx9: Fix ID3DXConstantTable::GetConstantElement() for structs. 2012-09-04 15:04:09 +02:00
Rico Schüller b5b0520723 d3dx9: Handle D3DXPC_VECTOR in set_matrix_array(). 2012-08-28 20:24:34 +02:00
Rico Schüller 42d28e0d34 d3dx9/tests: Fix typo. 2012-08-27 13:42:31 +02:00
Rico Schüller 68508ed581 d3dx9/tests: Add tests for ID3DXConstantTable::GetConstant/ByName/Element(). 2012-08-27 13:42:29 +02:00
Rico Schüller fdbcbb0c91 d3dx9/tests: Add tests for ID3DXConstantTable::GetConstantDesc(). 2012-08-27 13:42:20 +02:00
Józef Kucia cda7633775 d3dx9: Implement ID3DXConstantTable::SetMatrixTransposePointerArray. 2012-08-21 17:47:43 +02:00
Józef Kucia 9fec159abc d3dx9: Implement ID3DXConstantTable::SetMatrixPointerArray. 2012-08-21 17:47:41 +02:00
Józef Kucia 51f4f01308 d3dx9: Implement ID3DXConstantTable::SetMatrixTranspose. 2012-08-21 17:47:40 +02:00
Józef Kucia aaac25dc67 d3dx9: ID3DXConstantTable::SetFloat shouldn't change the value of matrix and vector constants. 2012-08-21 17:47:37 +02:00
Józef Kucia 2f73fd6ed5 d3dx9: ID3DXConstantTable::SetVector shouldn't change the value of matrix constants. 2012-08-21 17:47:36 +02:00
Józef Kucia 978971e1ac d3dx9: ID3DXConstantTable::SetMatrix should set scalar constants. 2012-08-21 17:47:34 +02:00
Rico Schüller 98d196a808 d3dx9/tests: Add variable name test. 2012-08-20 14:58:45 +02:00
Józef Kucia b31b9864d9 d3dx9: Fix ID3DXConstantTable::SetMatrix. 2012-08-16 19:37:09 +02:00
Józef Kucia 53ce2a240b d3dx9: Fix ID3DXConstantTable::SetVector. 2012-08-16 19:37:04 +02:00
Józef Kucia 5fd7d9826c d3dx9/tests: Add tests for ID3DXConstantTable::SetValue. 2012-08-16 19:37:00 +02:00
Józef Kucia 6fff4b9e87 d3dx9/tests: Add tests for setting matrix shader constants. 2012-08-16 19:36:47 +02:00
Józef Kucia fbba743484 d3dx9: Implement ID3DXConstantTable::SetBoolArray. 2012-08-16 19:36:39 +02:00
Józef Kucia 35dd7034cf d3dx9/tests: Add tests for ID3DXConstantTable::SetDefaults. 2012-08-14 12:48:01 +02:00
Józef Kucia 367ff5efc9 d3dx9/tests: Add tests for constant tables with default values. 2012-08-14 12:48:00 +02:00
Józef Kucia 711ee8a792 d3dx9: Correctly handle constants without default values in D3DXGetShaderConstantTableEx. 2012-08-14 12:48:00 +02:00
Detlef Riekenberg feea459238 d3dx9_36/tests: Fix failures on vista x64. 2012-08-14 11:57:57 +02:00
Józef Kucia dcc09efe80 d3dx9/tests: Add cube texture tests for ID3DXRenderToEnvMap. 2012-08-13 17:28:12 +02:00
Józef Kucia 5a99be321b d3dx9/tests: Add basic tests for ID3DXRenderToEnvMap. 2012-08-13 17:28:09 +02:00
Józef Kucia c51bf7b082 d3dx9/tests: Clean up device state after tests. 2012-08-13 17:27:54 +02:00
Rico Schüller c178b61bb9 d3dx9/tests: Check all elements in the effect parameter value test. 2012-08-13 11:51:18 +02:00
Rico Schüller 3bd55d0b62 d3dx9/tests: Reduce effect parameter value test count. 2012-08-13 11:51:11 +02:00
Józef Kucia 2c1968aef9 d3dx9: Allow D3DX_DEFAULT to be passed as srclevel to D3DXFilterTexture. 2012-07-23 14:55:45 +02:00
Nozomi Kodama f5714cccbd d3dx9_36: Implementation of D3DXSHRotateZ. 2012-07-19 17:02:01 +02:00
Józef Kucia ffe36a3894 d3dx9: Implement volume texture filtering in D3DXFilterTexture. 2012-07-16 16:56:17 +02:00
Józef Kucia 29acc31506 d3dx9: Implement point filtering for volume textures. 2012-07-16 16:55:56 +02:00
Józef Kucia 5d4bc53343 d3dx9: Implement pixel format conversion for volume textures. 2012-07-16 16:55:48 +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
Rico Schüller e0d5c35054 d3dx9/tests: Fix array increment in SetMatrix*PointerArray() test. 2012-07-10 11:16:44 -05:00
Rico Schüller 617a2ccee6 d3dx9/tests: Add effect parameter value GetMatrixTransposePointerArray() test. 2012-07-10 11:16:39 -05:00
Rico Schüller a7f1d93f01 d3dx9/tests: Add effect parameter value GetMatrixPointerArray() test. 2012-07-10 11:16:33 -05:00
Józef Kucia f5fd7fe3e1 d3dx9/tests: Add tests for D3DXLoadVolumeFromFileInMemory. 2012-07-09 15:44:08 -04:00
Józef Kucia 0ad6af9caa d3dx9: Validate the size of a volume texture in D3DXGetImageInfoFromFile. 2012-07-09 15:43:42 -04:00
Rico Schüller 18126eeb4f d3dx9/tests: Add effect parameter value SetMatrixTransposePointerArray() test. 2012-07-03 14:56:18 +02:00
Rico Schüller 1ae494a9bb d3dx9/tests: Add effect parameter value SetMatrixPointerArray() test. 2012-07-03 14:56:13 +02:00
Francois Gouget 691b9b6443 d3dx9_36/tests: Add a trailing '\n' to ok() calls. 2012-07-03 12:03:42 +02:00
Józef Kucia 07b0f25404 d3dx9: Implement D3DXCreateVolumeTextureFromFileInMemoryEx. 2012-07-02 11:59:13 +02:00
Józef Kucia 09519eece1 d3dx9/tests: Add tests for D3DXLoadVolumeFromMemory. 2012-07-02 11:58:45 +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
Józef Kucia 95b822d672 d3dx9/tests: Improve test failure messages for check_dds_pixel_format. 2012-06-19 11:12:39 +02:00
Józef Kucia 217c8b947e d3dx9: Recognize X8B8G8R8 pixel format in DDS files. 2012-06-19 11:12:34 +02:00
Józef Kucia 720dfb9b95 d3dx9/tests: Add tests for ID3DXFont::GetGlyphData. 2012-06-19 11:12:17 +02:00
Józef Kucia 4f68916600 d3dx9/tests: Add tests for ID3DXFont::PreloadText. 2012-06-19 11:12:11 +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
Francois Gouget bebcce32b0 d3dx9_36/tests: Make a couple of test functions static. 2012-06-12 11:11:36 +02:00
Józef Kucia 0e532633e3 d3dx9/tests: Use inline functions instead of check_pixel_{1bpp, 2bpp, 4bpp} macros. 2012-06-11 12:37:40 +02:00
Józef Kucia cda4738f52 d3dx9/tests: Improve test failure messages for check_{ref, release}. 2012-06-11 12:37:30 +02:00
Józef Kucia 35c13b0879 d3dx9: Add ID3DXRenderToEnvMap interface stub. 2012-06-11 12:37:22 +02:00
Józef Kucia f072404f61 d3dx9/tests: Add tests for D3DXCreateRenderToEnvMap. 2012-06-11 12:37:16 +02:00
Józef Kucia cda45bca92 d3dx9/tests: Add tests for device state changes for ID3DXRenderToSurface interface. 2012-06-07 21:42:49 +02:00
Józef Kucia bccda19e8f d3dx9/tests: Add tests for ID3DXRenderToSurface interface. 2012-06-07 21:42:43 +02:00
Józef Kucia de1f2ffd52 d3dx9: Implement ID3DXRenderToSurface::GetDevice. 2012-06-06 11:56:18 +02:00
Józef Kucia 0ed3eb0120 d3dx9: Implement ID3DXRenderToSurface::GetDesc. 2012-06-06 11:56:14 +02:00
Józef Kucia 5c6438e834 d3dx9: Add ID3DXRenderToSurface interface stub. 2012-06-06 11:56:09 +02:00
Józef Kucia 4200198355 d3dx9/tests: Add basic tests for D3DXCreateRenderToSurface. 2012-06-06 11:55:56 +02:00
Józef Kucia 6953865e8d d3dx9/tests: Fix indentation. 2012-06-06 11:55:01 +02:00
Józef Kucia 6fe841edde d3dx9/tests: Add tests for loading surfaces from non-lockable render targets. 2012-06-06 11:54:54 +02:00
Józef Kucia cbb9002aa6 d3dx9/tests: Add tests for DDS header handling. 2012-06-04 10:34:26 +02:00
Józef Kucia 13b2a3b9bc d3dx9/tests: Add tests for D3DXSaveTextureToFileInMemory. 2012-05-31 12:37:27 +02:00
Józef Kucia 70b1bff695 d3dx9: Implement D3DXSaveSurfaceToFileInMemory. 2012-05-31 12:37:25 +02:00
Rico Schüller f658aabfd5 d3dx9: Crop the input in ID3DXBaseEffect::SetBool(). 2012-05-30 17:17:57 +02:00
Józef Kucia ada5152650 d3dx9: Add support for luminance pixel formats. 2012-05-23 18:25:07 +02:00
Michael Stefaniuc 7446af76f4 d3dx9_36/tests: Check the correct return value. 2012-05-22 17:44:02 +02:00
Józef Kucia 5bd0070a1d d3dx9/tests: Remove d3d9 test from d3dx9 tests. 2012-05-22 17:43:58 +02:00
Józef Kucia e46d650d3f d3dx9/tests: Mark broken behavior of the debug version of d3d9. 2012-05-21 11:33:59 +02:00
Józef Kucia 8061bec3af d3dx9/tests: Do not release a texture when it wasn't created. 2012-05-21 11:33:58 +02:00
Józef Kucia 4d462adef9 d3dx9/tests: Use more common formats for surfaces in DXTn tests. 2012-05-21 11:33:58 +02:00
Józef Kucia 0da94d4985 d3dx9/tests: Add a test for D3DXLoadSurfaceFromSurface. 2012-05-21 11:33:58 +02:00
Józef Kucia d7a633a438 d3dx9/tests: Add more tests for D3DXFilterTexture. 2012-05-21 11:33:57 +02:00
Józef Kucia 480e4e5bfc d3dx9: Correctly check if a cube texture is dynamic in D3DXCreateCubeTextureFromFileInMemoryEx. 2012-05-21 11:33:57 +02:00
Józef Kucia eb55412f66 d3dx9: Correctly check if a texture is dynamic in D3DXCreateTextureFromFileInMemoryEx. 2012-05-21 11:33:56 +02:00
Józef Kucia 7d07f1f2f6 d3dx9: Correctly handle D3DUSAGE_AUTOGENMIPMAP in D3DXCheckVolumeTextureRequirements. 2012-05-21 11:33:56 +02:00
Józef Kucia dfc085b684 d3dx9: Correctly handle D3DUSAGE_AUTOGENMIPMAP in D3DXCheckTextureRequirements. 2012-05-21 11:33:55 +02:00
Józef Kucia 091a4269ef d3dx9/tests: Fix messed up parameters. 2012-05-17 17:44:27 +02:00
Józef Kucia 5ab8c2fdf8 d3dx9/tests: Do not release a cube texture if it wasn't created. 2012-05-17 17:44:27 +02:00
Józef Kucia 3728a88231 d3dx9: Properly check if a texture is lockable in D3DXCreateTextureFromFileInMemoryEx. 2012-05-14 17:52:23 +02:00
Józef Kucia adc694b831 d3dx9/tests: Add tests for compressed pixel formats support in D3DXLoadSurface functions. 2012-05-14 17:51:53 +02:00
Józef Kucia 97987bed70 d3dx9: Add DDS support in D3DXCreateTextureFromFile functions. 2012-05-14 17:51:32 +02:00
Józef Kucia 69b94181f2 d3dx9: Implement D3DXCreateCubeTextureFromFileInMemoryEx. 2012-05-14 17:51:22 +02:00
Józef Kucia e91300a318 d3dx9: Check the size of a DDS file in D3DXGetImageInfoFromFileInMemory. 2012-05-14 17:50:08 +02:00
Józef Kucia 42dd957c50 d3dx9: Add missing pixel formats. 2012-05-14 17:49:53 +02:00
Józef Kucia cf89638685 d3dx9/tests: Move tests for texture functions from surface.c to texture.c. 2012-05-11 15:51:08 +02:00
Józef Kucia ecb1c602f4 d3dx9/tests: Use consistent naming for DDS defines. 2012-05-08 09:41:21 +02:00
Józef Kucia 8b17b0f5c6 d3dx9/tests: Add tests for D3DXSaveSurfaceToFile. 2012-05-07 17:20:25 +02:00
Francois Gouget 8036abe4da d3dx9_36/tests: Add a trailing '\n' to an ok() call. 2012-05-04 18:08:34 +02:00
Michael Mc Donnell 081b06c012 d3dx9: Added D3DXOptimizeFaces test. 2012-05-03 20:44:14 +02:00
Józef Kucia d3068976e5 d3dx9: Implement conversion from DDS pixel format to D3DFORMAT. 2012-05-01 14:46:59 +02:00
Józef Kucia b157bc7cfa d3dx9/tests: Add DDS pixel format tests for D3DXGetImageInfoFromFileInMemory. 2012-04-25 17:21:02 +02:00
Rico Schüller b09d195bf3 d3dx9/tests: Add tests for ID3DXBaseEffect::G/SetValue(). 2012-04-18 17:40:13 +02:00
Józef Kucia f8015cd235 d3dx9/tests: Add tests for D3DXCreateVolumeTextureFromFileInMemory. 2012-03-26 18:15:43 +02:00
Józef Kucia 7f3f5dd1eb d3dx9/tests: Add tests for D3DXCreateCubeTextureFromFileInMemory. 2012-03-26 18:15:42 +02:00
Józef Kucia 3a210af107 d3dx9/tests: Test the DDS support in the D3DXGetImageInfo functions. 2012-03-26 18:15:41 +02:00
Christian Costa a7692beb61 d3dx9_36: Make D3DXVec3Unproject support omission of world matrix + test. 2012-03-14 12:59:08 +01:00
Jozef Kucia c76743631d d3dx9/tests: Don't leak D3DXBuffer in D3DXWeldVertices tests. 2012-03-13 10:54:02 +01:00
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