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
Alexandre Julliard
4caf450aa7
d3d10: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 15:04:06 +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
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
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
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
708615056c
d3d10: Avoid LPCSTR.
2013-09-18 13:11:25 +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
Henri Verbeet
7d7d1836f6
d3d10: Properly handle arrays of state objects.
2012-09-26 11:02:53 +02:00
Henri Verbeet
4f2c93e248
d3d10: Store shader variables in d3d10_effect_pass instead of d3d10_effect_object.
2012-09-25 11:19:00 +02:00
Henri Verbeet
2a83e1a581
d3d10: Store shaders directly in d3d10_effect_object.
2012-09-25 11:18:54 +02:00
Henri Verbeet
1dcc63c170
d3d10: Implement d3d10_effect_shader_variable_GetPixelShader().
2012-09-24 09:57:59 +02:00
Henri Verbeet
90df33f0b3
d3d10: Implement d3d10_effect_shader_variable_GetGeometryShader().
2012-09-24 09:57:54 +02:00
Henri Verbeet
63b2022302
d3d10: Implement d3d10_effect_shader_variable_GetVertexShader().
2012-09-21 10:53:03 +02:00
Henri Verbeet
a03910c903
d3d10: Properly cleanup shader variables.
2012-09-21 10:53:00 +02:00
Henri Verbeet
b0795aafd3
d3d10: Use debugstr_a() on variable names in parse_fx10_object().
2012-09-19 13:04:43 +02:00
Henri Verbeet
99d1c9ba82
d3d10: Improve a couple of debug messages.
2012-09-04 15:05:32 +02:00
Henri Verbeet
0f372135bb
d3d10: Handle D3D10_SVT_UINT in read_int32_value() and read_int8_value().
2012-09-04 15:05:27 +02:00
Henri Verbeet
9f212a6c95
d3d10: Implement d3d10_effect_sampler_variable_GetBackingStore().
2012-07-25 11:21:03 +02:00
Henri Verbeet
98751a4994
d3d10: Add support for parsing sampler states.
2012-07-25 11:21:00 +02:00
Henri Verbeet
32d4464e90
d3d10: Implement d3d10_effect_blend_variable_GetBackingStore().
2012-07-25 11:20:58 +02:00
Henri Verbeet
aaf47457b9
d3d10: Add support for parsing blend states.
2012-07-25 11:20:55 +02:00
Francois Gouget
7b89de9e48
d3d10: Make get_property_info() static.
2012-07-23 19:53:50 +02:00
Henri Verbeet
6feffa6ee2
d3d10: Implement d3d10_effect_depth_stencil_variable_GetBackingStore().
2012-07-23 12:36:09 +02:00
Henri Verbeet
ea05d7b92d
d3d10: Add support for parsing depth/stencil states.
2012-07-23 12:36:05 +02:00