Commit Graph

242 Commits

Author SHA1 Message Date
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
Henri Verbeet 31e8a20d88 d3dx9_36: Use a lookup table in D3DXGetDeclVertexSize(). 2010-08-25 11:56:35 +02:00
Tony Wasserka ecce9eebcf d3dx9: Fix an off by one error in point_filter_simple_data. 2010-08-23 13:37:03 +02:00
Tony Wasserka 18b8916942 d3dx9: Black out pixels which are outside the source rect in D3DXLoadSurfaceFromMemory if no stretching is used. 2010-08-23 13:37:03 +02:00
Gerald Pfeifer 0fed73ef4b d3dx9_36: Simplify instr_ps_1_0123_texld. 2010-08-23 11:52:34 +02:00
Misha Koshelev 46050fb377 d3dx9: Add tests for FVF <-> declaration conversion. 2010-08-19 17:32:18 +02:00
Gerald Pfeifer f781be07fc d3dx9_36: minwidth and minheight are set but not used in point_filter_simple_data; remove them. 2010-08-16 17:28:55 +02:00
Alexandre Julliard 277040d924 d3dx9: Fix some incorrect const typecasts. 2010-08-04 17:53:14 +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
Tony Wasserka 295d2a6777 d3dx9: Move pixel sampling and recombination in copy_simple_data to separate helper functions. 2010-08-04 17:48:21 +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
Paul Chitescu 8068d4ee22 d3dx9_36: Provide an empty error message in the stub D3DXCompileShader. 2010-07-28 16:28:21 +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 8ce3ecea0d d3dx9: Add <= ps_1_3 instruction parsing to the shader assembler. 2010-07-22 10:10:59 +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
Matteo Bruni 7c834e30d7 d3dx9: Add ps_1_4 instructions parsing to the shader assembler. 2010-07-20 16:29:45 +02:00
Matteo Bruni 949eca4012 d3dx9: Add shift modifiers parsing to the shader assembler. 2010-07-20 16:29:45 +02:00
Matteo Bruni 4c5954eaa4 d3dx9: Add ps_1_x source register modifiers to the shader assembler. 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
Matteo Bruni 0ea6f7957a d3dx9: Error out on dcl output instruction where not supported. 2010-07-19 15:10:10 +02:00
Matteo Bruni d76e3ac9c6 d3dx9: Improve a FIXME. 2010-07-19 15:10:06 +02:00
Matteo Bruni a5e55c157f d3dx9: Remove unused parameter from get_regname(). 2010-07-19 15:09:59 +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
Francois Gouget 3133b71e92 d3dx9_36: Make assemble_shader() static. 2010-06-24 10:34:40 +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 9a8ffc916c d3dx9: Mark builtin compatibility declarations in the shader assembler.
This way we can output declarations in the bytecode without polluting
them with the builtin ones.
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 bc42217401 d3dx9: Make D3DXCompileShader stub more verbose. 2010-06-01 17:48:59 +02:00
Matteo Bruni b45a17c7b3 d3dx9: Remove stray debug trace. 2010-06-01 17:48:54 +02:00
Matteo Bruni a262fde88c d3dx9: Fix get_regname debug function. 2010-06-01 17:48:50 +02:00