Commit Graph

495 Commits

Author SHA1 Message Date
Michael Stefaniuc ceef3a844a d3dx9_36/tests: Actually test retrieve_device_state calls (PVS-Studio). 2015-01-13 19:54:03 +01:00
Alistair Leslie-Hughes e5d7982c4d d3dx9: Make ID3DXFont_PreloadCharacters return S_OK. 2014-12-12 11:07:26 +01:00
André Hentschel 09761309ad d3dx9_36/tests: Remove unused function (Clang). 2014-12-01 11:00:19 +01:00
André Hentschel 67ee1faba2 d3dx9_36/tests: Remove unused functions (Clang). 2014-11-25 19:49:37 +01:00
Sebastian Lackner b69038e3d9 d3dx9_36: Allow NULL pointer for optional arguments of D3DXIntersectTri. 2014-11-14 14:16:41 +09:00
Sebastian Lackner fc0392a24e d3dx9_36/tests: Remove code to skip test which should never fail. 2014-11-11 16:20:05 +09:00
Sebastian Lackner b8814764aa d3dx9_36/tests: Add tests for D3DXCreatePolygon.
Based on a patch by David Adam.
2014-11-11 16:20:02 +09:00
Matteo Bruni 1569698d9e d3dx9: Use an alpha-capable format when creating textures with a color key. 2014-11-11 14:21:07 +09:00
Matteo Bruni fb9c01f1dc d3dx9: Handle GUID_WICPixelFormat8bppGray format. 2014-11-11 14:21:00 +09:00
Matteo Bruni c87901d3f8 d3dx9/tests: Create the asm shader test files under the temporary files directory. 2014-08-25 22:03:28 +02:00
Matteo Bruni bc8d913199 d3dx9/tests: Add a test for an include path containing '/'. 2014-08-25 22:03:06 +02:00
Matteo Bruni 770eaec561 d3dx9: Properly evaluate fallbacks for luminance texture formats in D3DXCheckTextureRequirements. 2014-08-25 22:02:21 +02:00
Marcus Meissner 20ef8d2991 d3dx9_36: Fixed typo in HeapAlloc return checking (Coverity). 2014-07-22 12:08:07 +02:00
Gediminas Jakutis fe802d92bb d3dx9: Implement D3DXCreateTorus() + tests. 2014-07-10 12:40:34 +02:00
Matteo Bruni c1bf61e56c d3dx9/tests: Take MaxVolumeExtent into account in some tests. 2014-05-01 20:36:40 +02:00
Matteo Bruni 2a8dae52aa d3dx9/tests: Fix expected values when mipmaps on cube maps are not supported. 2014-05-01 20:36:37 +02:00
Matteo Bruni 8ca7617d4d d3dx9/tests: Don't fail a test if volume textures are not supported. 2014-05-01 20:36:34 +02:00
Matteo Bruni 96e9a70661 d3dx9/tests: Release the device when skipping some tests. 2014-05-01 20:36:31 +02:00
Frédéric Delanoy 2e5cb7aac8 Assorted spelling/grammar fixes. 2014-04-30 18:34:20 +02:00
Stefan Dösinger ed3b1037f9 d3dx9_36/tests: Initialize some test values. 2014-04-01 20:58:01 +02:00
Matteo Bruni 9295ee0c0b d3dx9/tests: Mark a test todo_wine when DXTn textures aren't supported by the GL driver. 2014-03-13 20:22:18 +01:00
Matteo Bruni d6a919af89 d3dx9/tests: Skip a test if DXTn texture formats are not supported. 2014-03-13 20:22:17 +01:00
Matteo Bruni d96d0af83d d3dx9/tests: Skip some volume tests if loading the texture fails. 2014-03-13 20:22:16 +01:00
Rico Schüller 9809a3670c d3dx9/tests: Check if D3DFMT_X1R5G5B5 is supported. 2014-03-11 19:39:27 +01:00
Matteo Bruni 596557a57a d3dx9: Support skipping mip levels in D3DXCreateTextureFromFileInMemoryEx. 2014-03-05 19:18:17 +01:00
Matteo Bruni e32672f2d7 d3dx9/tests: Replace a test giving inconsistent results on Windows. 2014-03-03 17:53:55 +01:00
Matteo Bruni df3c573f63 d3dx9: Allow loading DDS volume textures into 2D textures. 2014-03-03 17:53:53 +01:00
Matteo Bruni 8b5cd9edbc d3dx9: Always use type->Rows as D3DXPC_MATRIX_ROWS parameters size. 2014-03-03 17:53:37 +01:00
Gediminas Jakutis 6749bdf66b d3dx9/tests: Add a mesh test for D3DXCreateBox(). 2014-03-03 17:46:44 +01:00
Gediminas Jakutis cc3ec2da1a d3dx9: Implement D3DXCreateBox(). 2014-03-03 17:46:42 +01:00
Matteo Bruni 62288d02be d3dx9: Call D3DCompile() for ASCII effects. 2014-02-25 14:17:45 -06:00
Matteo Bruni 772d660e28 d3dx9/tests: Use a valid version tag for the "empty" shader. 2014-02-20 13:25:31 +01:00
Matteo Bruni b74fc45b81 d3dx9/tests: Add a test for constant tables in FX20 shaders. 2014-02-20 13:25:30 +01:00
Matteo Bruni e5d9be5eaf d3dx9/tests: Create A8L8 and DXTn textures instead of plain surfaces.
Creating them as plain surfaces fails on my Nvidia Win7 system.
2014-02-20 13:25:28 +01:00
Matteo Bruni 190877422e d3dx9: Enforce minimum texture dimensions for block-based pixel formats. 2014-02-17 20:16:21 +01:00
Frédéric Delanoy e4a0da373c d3dx9_36/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-28 11:44:34 +01:00
André Hentschel 28b9e1b947 d3dx9_36/tests: Avoid preprocessor checks to ensure it compiles. 2014-01-27 17:39:47 +01:00
Stefan Dösinger f85f733c79 d3dx9_36/tests: Use a window with a non-zero size. 2014-01-16 21:04:19 +01:00
Francois Gouget d3cf4ff569 d3dx9_36/tests: Fix compilation on systems that don't have NAN (Solaris). 2014-01-10 17:59:53 +01:00
André Hentschel 87c7c961f2 Assorted spelling fixes. 2014-01-06 17:33:24 +01:00
Stefan Dösinger 95317c33a9 d3dx9_36/tests: Use NAN. 2014-01-02 17:29:38 +01:00
Stefan Dösinger 9e3ef4abc6 d3dx9_36/tests: Fix calling convention specification.
Msvc wants __stdcall after the type, otherwise it generates an error.
2014-01-02 17:29:16 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Stefan Dösinger ebfdcc9c9a d3dx9_36/tests: Use D3DX_PI instead of M_PI. 2014-01-01 20:45:27 +01:00
Rico Schüller c1a0fbd146 d3dx9/tests: Fix variable names. 2013-11-11 17:06:46 +01:00
Henri Verbeet 3e5dd54971 d3dx9/tests: Use explicit A calls. 2013-10-31 09:58:44 +01:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Rico Schüller e615c67bc7 d3dx9: Handle FX/TX blobs in D3DXFindShaderComment(). 2013-09-30 20:35:03 +02:00
Rico Schüller 196766cb77 d3dx9/tests: Add matrix column register count clamp test. 2013-09-19 09:30:56 +02:00
Stefan Dösinger 7aa17eaa5c d3dx9_36/tests: Create*TextureFromFileInMemory doesn't fail.
If the format is unsupported it picks a replacement format. Our d3dx9
cannot handle d3dx9 decompression yet, so mark the tests todo_wine in
this case.
2013-09-17 16:22:29 +02:00