Matteo Bruni
1559f6013c
d3d10/tests: Add reflection test.
...
Share and reuse most of the d3dcompiler test.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-14 21:05:59 +01:00
Matteo Bruni
4ed07d8586
d3dcompiler: Always expect D3D_COMPILER_VERSION to be defined.
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-12 21:39:40 +01:00
Connor McAdams
981403e50f
d3dcompiler: Move d3d10 reflection stubs into d3dcompiler.
...
Signed-off-by: Connor McAdams <conmanx360@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-06 16:03:31 +01:00
Connor McAdams
79aaabeb7f
d3d10: Move debug_d3d10_device_state_types() to stateblock.c.
...
Signed-off-by: Connor McAdams <conmanx360@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-31 00:33:46 +01:00
Connor McAdams
ae1cc9c742
d3d10: Move debug_d3d10_driver_type() to d3d10_main.c.
...
Signed-off-by: Connor McAdams <conmanx360@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-31 00:33:46 +01:00
Connor McAdams
b44d6c25b2
d3d10: Move private effect functions to effect.c.
...
Signed-off-by: Connor McAdams <conmanx360@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-31 00:33:46 +01:00
Michael Stefaniuc
cfd1f614bc
d3d10: Avoid casts from COM object to interface.
...
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-09-06 18:58:02 +02:00
Francois Gouget
07da1dec4c
d3d10/tests: Spelling fixes in ok() messages.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-04 19:49:22 +02:00
Alexandre Julliard
4caf450aa7
d3d10: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 15:04:06 +02:00
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