Commit Graph

1151 Commits

Author SHA1 Message Date
Matteo Bruni 8b5cd9edbc d3dx9: Always use type->Rows as D3DXPC_MATRIX_ROWS parameters size. 2014-03-03 17:53:37 +01:00
Matteo Bruni c6fefc20a6 d3dx9: Turn D3DXCreateEffectEx FIXME into a TRACE, improve it a bit. 2014-03-03 17:53:34 +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 8226a187d6 d3dx9: Don't call CoUninitialize if CoInitializeEx failed. 2014-02-25 14:18:07 -06:00
Matteo Bruni 244100f01c d3dx9: Remove Begin/End stub fixmes. 2014-02-25 14:17:59 -06:00
Matteo Bruni 49604ca1b7 d3dx9: Kill a noisy TRACE. 2014-02-25 14:17:51 -06:00
Matteo Bruni 62288d02be d3dx9: Call D3DCompile() for ASCII effects. 2014-02-25 14:17:45 -06:00
Matteo Bruni b86b3dfa40 d3dx9: Calling CommitChanges with no active pass silently returns. 2014-02-25 14:17:35 -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 fa8a0dc7f6 d3dx9: Allow loading float "FOURCC" DDS files. 2014-02-20 13:25:29 +01:00
Matteo Bruni 596bb77862 d3dx9: Add some more float pixel formats. 2014-02-20 13:25:28 +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 950c40b117 d3dx9: Handle pixel formats larger than 32 bits in surface loading / filtering functions. 2014-02-17 20:16:24 +01:00
Matteo Bruni 73e4f6200e d3dx9: Add missing trace to D3DXLoadVolumeFromFileInMemory. 2014-02-17 20:16:23 +01:00
Matteo Bruni ac5664c879 d3dx9: Trace DDS pixel format. 2014-02-17 20:16:22 +01:00
Matteo Bruni 190877422e d3dx9: Enforce minimum texture dimensions for block-based pixel formats. 2014-02-17 20:16:21 +01:00
Matteo Bruni dda9da793f d3dx9: Add some TRACEs and FIXMEs to D3DXCreateTextureFromFileInMemoryEx. 2014-02-17 20:16:20 +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
Stefan Dösinger 6bd6193cb1 d3dx9_36: Make emsquare an unsigned int in create_outline. 2014-01-13 18:41:51 +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
Andrey Gusev 4ec773a099 d3dx9_xx: Correct filename string. 2014-01-07 10:43:33 +01:00
Stefan Dösinger b054fe94ee d3dx9_36: Cast UINTs to FLOATs in d3dx9_line_Begin. 2014-01-06 20:46:56 +01:00
Stefan Dösinger b87e167fa3 d3dx9_36: Make the order parameter of weightedcapintegrale an UINT. 2014-01-06 20:46:50 +01:00
Stefan Dösinger 86e88f51b8 d3dx9_36: Improve error handling in remap_faces_for_attrsort. 2014-01-06 20:46:48 +01:00
Stefan Dösinger 303a5f05f7 d3dx9_36: Don't make the input parameter to remap_faces_for_attrsort const. 2014-01-06 20:46:47 +01:00
Stefan Dösinger e1a845c213 d3dx9_36: Cast D3DPARAMETER_TYPE * to DWORD *. 2014-01-06 20:46:45 +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
Stefan Dösinger aa2baf8c58 d3dx9_36: Add explicit casts in type conversion functions. 2014-01-02 17:29:06 +01:00
Stefan Dösinger 6bc4ebd516 d3dx9_36: Floatify some constants. 2014-01-02 17:28:47 +01:00
Stefan Dösinger f06fc7f858 d3dx9_36: Use float math functions. 2014-01-02 17:28:24 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Stefan Dösinger 4734771f28 d3dx9_36: Make NUM_ELEM a define. 2014-01-01 20:45:29 +01:00
Stefan Dösinger dcb101666b d3dx9_36: Use SIZE_T for some iterators. 2014-01-01 20:45:28 +01:00
Stefan Dösinger ebfdcc9c9a d3dx9_36/tests: Use D3DX_PI instead of M_PI. 2014-01-01 20:45:27 +01:00
Stefan Dösinger f6c90ec59f d3dx9_36: Use D3DX_PI instead of M_PI. 2014-01-01 20:45:26 +01:00
Andrey Gusev 9970e29589 d3dx9_36: Add one more missing f suffix. 2013-12-20 17:09:12 +01:00
Stefan Dösinger af3a59cbd0 d3dx9_36: Add missing f suffixes. 2013-12-19 17:30:30 +01:00
Frédéric Delanoy 57d7f74d34 Assorted spelling fixes. 2013-11-21 19:44:46 +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
Rico Schüller bc1d6e5098 d3dx9: Don't allocate the state parameter. 2013-10-07 14:44:35 +02: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
Henri Verbeet c174a993b0 d3dx9: Get rid of the SPRITE typedef. 2013-09-30 20:34:52 +02:00
Henri Verbeet be2e845cb3 d3dx9: Get rid of the SPRITEVERTEX typedef. 2013-09-27 10:33:45 +02:00
Henri Verbeet be1dbc0dbb d3dx9: Get rid of the ID3DXFileDataImpl typedef. 2013-09-27 10:33:44 +02:00
Henri Verbeet 38871d842f d3dx9: Get rid of the ID3DXFileEnumObjectImpl typedef. 2013-09-26 10:45:56 +02:00
Henri Verbeet 177aa5c26f d3dx9: Get rid of the ID3DXFileImpl typedef. 2013-09-26 10:45:54 +02:00
Rico Schüller f7ba8e1472 d3dx9: Use struct d3dx_object for objects. 2013-09-25 13:33:25 +02:00
Henri Verbeet 0f965d16f0 d3dx9: Get rid of the ID3DXSpriteImpl typedef. 2013-09-25 11:49:16 +02:00
Henri Verbeet 0a993f14b4 d3dx9: Get rid of the ID3DXSkinInfoImpl typedef. 2013-09-25 11:49:14 +02:00
Henri Verbeet 778b644fc6 d3dx9: Get rid of the ID3DXMeshImpl typedef. 2013-09-24 12:57:31 +02:00
Henri Verbeet ffc66f471c d3dx9: Get rid of the ID3DXLineImpl typedef. 2013-09-24 12:57:29 +02:00
Henri Verbeet 49a3dbc453 d3dx9: Avoid CONST. 2013-09-20 11:27:49 +02:00
Rico Schüller 196766cb77 d3dx9/tests: Add matrix column register count clamp test. 2013-09-19 09:30:56 +02:00
Rico Schüller ae95176c0d d3dx9: Clamp register count for D3DXPC_MATRIX_COLUMNS. 2013-09-19 09:30:54 +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
Henri Verbeet 871967d0fb d3dx9: Avoid LPVOID. 2013-09-04 11:37:06 +02:00
Matteo Bruni 686f0a62df d3dx9/tests: Add some more tests for D3DX[Assemble|Preprocess]ShaderFromFile. 2013-09-03 16:58:39 +02:00
Matteo Bruni 613d27ebeb d3dx9: Use the ID3DXInclude object to open the initial file in D3DX[Assemble|Compile|Preprocess]ShaderFromFile. 2013-09-03 16:58:37 +02:00
Matteo Bruni 1f6173a69f d3dx9: Add / improve traces in some shader-related functions. 2013-09-03 16:58:34 +02:00
Henri Verbeet 76e35a2939 d3dx9: Avoid LPCVOID. 2013-09-03 16:58:18 +02:00
Henri Verbeet 77ee90b59f d3dx9: Avoid LPSTR. 2013-09-03 16:58:17 +02:00
Henri Verbeet 75511e351c d3dx9: Avoid LPCSTR. 2013-09-02 18:02:48 +02:00
Henri Verbeet 2a24b11af5 d3dx9: Avoid LPWSTR. 2013-09-02 18:02:46 +02:00
Henri Verbeet 82710124e3 d3dx9: Avoid LPCWSTR. 2013-08-30 11:19:05 +02:00
Henri Verbeet 7175367ad5 d3dx9: Avoid some needless casts. 2013-08-30 11:18:57 +02:00
Henri Verbeet d35c67becd d3dx9: Simplify D3DXCreateTextureFromResourceExW(). 2013-08-29 19:56:17 +02:00
Henri Verbeet 4b56eae0f1 d3dx9: Simplify D3DXCreateTextureFromResourceExA(). 2013-08-29 19:56:17 +02:00
Henri Verbeet 9595dd873e d3dx9: Simplify D3DXLoadSurfaceFromResourceW(). 2013-08-28 11:17:09 +02:00
Henri Verbeet d16402b10c d3dx9: Simplify D3DXLoadSurfaceFromResourceA(). 2013-08-28 11:17:09 +02:00
Henri Verbeet 4c850f0e79 d3dx9: Simplify D3DXGetImageInfoFromResourceW(). 2013-08-27 11:50:53 +02:00
Henri Verbeet aaff163ae0 d3dx9: Simplify D3DXGetImageInfoFromResourceA(). 2013-08-27 11:50:53 +02:00
Stefan Dösinger 421b7a17ad wined3d: Enforce volume mapping restrictions. 2013-08-26 19:01:23 +02:00
Henri Verbeet 34c7024790 d3dx9: Simplify D3DXCreateEffectCompilerFromResourceW(). 2013-08-26 10:50:51 +02:00
Henri Verbeet 1be05ff731 d3dx9: Simplify D3DXCreateEffectCompilerFromResourceA(). 2013-08-26 10:50:49 +02:00
Henri Verbeet 37d67eb629 d3dx9: Simplify D3DXCreateEffectFromResourceExW(). 2013-08-23 10:41:40 +02:00
Henri Verbeet f60b28138e d3dx9: Simplify D3DXCreateEffectFromResourceExA(). 2013-08-23 10:41:38 +02:00
Henri Verbeet 6ea59b9157 d3dx9: Get rid of the ID3DXMatrixStack_Vtbl forward declaration. 2013-08-22 10:26:53 +02:00
Henri Verbeet c2eabf9e68 d3dx9: Get rid of some unused vtbl forward declarations. 2013-08-22 10:26:51 +02:00
Henri Verbeet 1cb70eb07a d3dx9: ID3DXBaseEffectImpl doesn't need to be a COM implementation. 2013-08-21 12:13:56 +02:00
Henri Verbeet 3b4b61f03a d3dx9: Avoid LPD3DXMATRIX. 2013-08-21 12:13:56 +02:00
Rico Schüller e5a9dcf945 d3dx9: Introduce a helper function for the annotations. 2013-08-16 11:55:24 +02:00
Rico Schüller b9b6b0585f d3dx9/tests: Test all registers set by the constant table. 2013-08-02 11:38:51 +02:00
Rico Schüller fab44cbbfb d3dx9: Use d3dx_parameter instead of D3DXHANDLE. 2013-08-02 11:38:35 +02:00
Rico Schüller d3b4dc92d9 d3dx9: Warn when submitting invalid flags to ID3DXEffect::Begin(). 2013-08-02 11:37:25 +02:00
Rico Schüller 3ff2255a83 d3dx9: Track ID3DXEffect::Begin/End(). 2013-08-02 11:37:18 +02:00
Rico Schüller a6d3883211 d3dx9/tests: Add ID3DXConstantTable big vector test. 2013-07-29 15:01:42 +02:00
Rico Schüller faf7dd3131 d3dx9/tests: Add ID3DXConstantTable RegisterCount test for D3DXRS_INT4. 2013-07-29 15:01:40 +02:00
Rico Schüller 4dc11cc3aa d3dx9/tests: Add ID3DXConstantTable::SetDefaults() test. 2013-07-29 15:01:36 +02:00
Rico Schüller 1099bb5e76 d3dx9: Improve ID3DXConstantTable::SetDefaults(). 2013-07-29 15:01:31 +02:00
Rico Schüller c76f6085b2 d3dx9/tests: Add ID3DXConstantTable struct struct test. 2013-07-29 15:01:25 +02:00
Christian Costa a8728893b7 d3dx9_36: Release shader if getting constant table fails in D3DXCompileShader. 2013-07-29 14:11:08 +02:00