Commit Graph

288 Commits

Author SHA1 Message Date
Stefan Riesenberger 4826b77d71 d3d10: Avoid calling D3D10CreateDevice() from D3D10CreateDeviceAndSwapChain().
Signed-off-by: Stefan Riesenberger <stefan.riesenberger@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-26 20:48:37 +01:00
Michael Stefaniuc 5f299d2c87 d3d10/tests: Remove useless casts to self.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-13 19:45:24 +01:00
Henri Verbeet f6484434cb d3d10: Handle D3D10_DRIVER_TYPE_WARP in D3D10CreateDevice().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:00 +02:00
Michael Stefaniuc 68b51aa543 d3d10: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 09:39:30 +02:00
Michael Stefaniuc e1ad81b360 d3d10/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-29 17:13:05 +02:00
Valentin Gabriel Mitrea 9dd88e31ef d3d10: Implement D3D10CompileEffectFromMemory().
Signed-off-by: Valentin Gabriel Mitrea <mitrea.valentin@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-24 00:25:15 +02:00
Henri Verbeet fc055fc0ef d3d10: Use the global memory allocation helpers.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-01 22:24:52 +01:00
Henri Verbeet 8553df475e d3d10: Validate the DXBC version.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-19 19:45:47 +01:00
Henri Verbeet dc0310c029 d3d10: Release the device reference in d3d10_stateblock_Release().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-12 16:42:54 +02:00
Józef Kucia 1a86bc9d75 d3d10: Validate SDK version.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-05 14:12:17 +02:00
Austin English 12a7b2b41c d3d10: Sync spec file to Windows 10.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-30 22:06:34 +02:00
Jacek Caban acc0bb0521 rbtree.h: Pass compare function instead of wine_rb_functions to wine_rb_init.
Also change return type to void since the function can no longer fail.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-02 23:30:29 +09:00
Jacek Caban 0f418a698c d3d10: Removed no loner needed wine_rb_init error handling.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-31 22:23:00 +09:00
Henri Verbeet 1bcc7ce75f d3d10: Validate offsets and size in parse_fx10_type() (AFL).
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-10 22:26:38 +09:00
Henri Verbeet 7f6520a2bb d3d10: Validate offsets in parse_shader() (AFL).
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-10 22:26:36 +09:00
Andrey Gusev 0cd12e294e d3d10: Fix a typo in depthstencilstate_count variable name.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-03 00:10:51 +09:00
Henri Verbeet 200bfa97a8 d3d10: Validate the base offset in parse_fx10_body() (AFL).
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-27 10:21:48 +09:00
Henri Verbeet e36630f702 d3d10: Validate the data size in parse_fx10() (AFL).
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-27 10:21:48 +09:00
Henri Verbeet 1f38359ec5 d3d10: Names and semantics are allowed to be NULL (AFL).
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-27 10:21:48 +09:00
Henri Verbeet 01f8e55d38 d3d10: Simply use d3d10_effect_type_destroy() in d3d10_effect_local_buffer_destroy().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-27 10:21:48 +09:00
Henri Verbeet 908a8e677c d3d10: Check if the type was initialised in d3d10_effect_variable_destroy() (AFL).
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-27 10:21:48 +09:00
Henri Verbeet c8ef7e835c d3d10: Initialise the type tree in D3D10CreateEffectFromMemory() (AFL).
Otherwise we'd crash if we failed parsing the effect before parse_fx10_body().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-26 16:56:15 +09:00
Henri Verbeet 6042c2a36b d3d10: Validate offsets and sizes in read_value_list() (AFL).
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-26 16:56:14 +09:00
Henri Verbeet 2594f58eb0 d3d10: Validate offsets in parse_fx10_object() (AFL).
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-26 16:56:14 +09:00
Henri Verbeet d76f7f1204 d3d10: Introduce fx10_copy_string() (AFL).
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-26 10:44:35 +09:00
Henri Verbeet 775c7edbc3 d3d10: Introduce a helper function to allocate arrays (AFL).
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-26 10:44:32 +09:00
Henri Verbeet 22d52ed59d d3d10: Validate offsets and sizes in shader_parse_signature() (AFL).
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-25 15:43:55 +09:00
Henri Verbeet 994c5618b1 d3d10: Validate offsets and sizes in parse_dxbc() (AFL).
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-25 15:43:38 +09:00
Alistair Leslie-Hughes e7003fd28a d3d10: Add D3D10CreateEffectPoolFromMemory stub.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-01 20:51:07 +09:00
Matteo Bruni fcc8553d8b d3d10core: Add feature level support.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-16 21:59:42 +09:00
Józef Kucia f04dfcd214 d3d10: Do not use '\n' in the middle of TRACE. 2015-08-18 18:34:46 +09:00
Henri Verbeet e7b7d1ef45 d3d10: D3D10CreateStateBlock() is implemented. 2015-02-12 22:12:13 +09:00
Henri Verbeet b5a91d1246 d3d10: Also store the depth/stencil state in the stateblock. 2014-09-18 13:06:30 +02:00
Henri Verbeet 92c420d449 d3d10: Implement d3d10_stateblock_Apply(). 2014-09-03 11:22:07 +02:00
Henri Verbeet 37d628cdc9 d3d10: Implement d3d10_stateblock_Capture(). 2014-09-01 20:26:34 +02:00
Alexandre Julliard 29fcb82b94 d3d10: Remove unnecessary DllMain implementation. 2014-05-15 19:04:51 +02:00
Henri Verbeet d3aba2d635 d3d10: Release sampler state references in d3d10_effect_variable_destroy(). 2014-02-14 11:52:54 +01:00
Henri Verbeet 7c70f5434e d3d10: Release rasterizer state references in d3d10_effect_variable_destroy(). 2014-02-14 11:52:51 +01:00
Henri Verbeet 577217f91a d3d10: Release blend state references in d3d10_effect_variable_destroy(). 2014-02-14 11:52:49 +01:00
Henri Verbeet bf17789a33 d3d10: Release depth stencil state references in d3d10_effect_variable_destroy(). 2014-02-14 11:52:46 +01:00
Henri Verbeet 2be432b4df dxgi/tests: Also test for ID3D10Device1 and ID3D11Device in test_device_interfaces(). 2014-02-11 19:19:14 +01:00
Henri Verbeet 127e9bc46b d3d10/tests: Don't reuse the device. 2014-01-28 10:53:43 +01:00
Henri Verbeet ce49a4ae63 d3d10/tests: Also try a WARP device in create_device(). 2014-01-28 10:53:40 +01:00
Henri Verbeet 2d06703dc7 d3d10: Add D3D10_DRIVER_TYPE_WARP. 2014-01-27 17:39:47 +01:00
André Hentschel 10fc362dfe d3d10/tests: Avoid preprocessor check to ensure it compiles. 2014-01-27 17:01:58 +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
Rico Schüller db521d5cd1 d3d10/tests: Create a new device for each device test. 2013-11-15 12:01:07 +01:00
Rico Schüller 3b13f08537 d3d10/tests: Remove some device creation traces. 2013-11-15 12:01:03 +01:00
Rico Schüller dee50ab8b4 d3d10: Fix a comment. 2013-11-14 16:21:21 +01:00