Commit Graph

275 Commits

Author SHA1 Message Date
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
Rico Schüller 8e5ecee1ce d3d10/tests: Enable DepthEnable for reproducible results. 2013-11-14 16:21:15 +01:00
Henri Verbeet 69fe799c25 d3d10: Avoid LPVOID. 2013-09-18 13:11:27 +02:00
Henri Verbeet 708615056c d3d10: Avoid LPCSTR. 2013-09-18 13:11:25 +02:00
Henri Verbeet cb876cdb97 d3d10: Implement D3D10DisassembleShader(). 2012-10-24 11:24:16 +02:00
Henri Verbeet 7cea4645c5 d3d10: Implement d3d10_effect_sampler_variable_GetSampler(). 2012-10-09 09:59:33 +02:00
Henri Verbeet eda5c39335 d3d10: Handle blend state in d3d10_effect_object_apply(). 2012-10-09 09:59:29 +02:00
Henri Verbeet b2228834c7 d3d10: Handle depth stencil state in d3d10_effect_object_apply(). 2012-10-08 11:28:27 +02:00
Henri Verbeet 16c6e4e332 d3d10: Handle rasterizer state in d3d10_effect_object_apply(). 2012-10-08 11:28:21 +02:00
Henri Verbeet 9341821311 d3d10: Implement d3d10_effect_rasterizer_variable_GetRasterizerState(). 2012-10-01 12:10:48 +02:00
Henri Verbeet 14b9f3d295 d3d10: Implement d3d10_effect_depth_stencil_variable_GetDepthStencilState(). 2012-10-01 12:10:43 +02:00
Henri Verbeet fb2dac9621 d3d10: Implement d3d10_effect_blend_variable_GetBlendState(). 2012-09-27 13:10:35 +02:00
Henri Verbeet 13c00a9d2e d3d10: Use a union to store effect variable data instead of a void pointer. 2012-09-27 13:10:24 +02:00
Henri Verbeet 084e967c0d d3d10: Introduce a state object variable structure. 2012-09-26 14:40:23 +02:00