Commit Graph

314 Commits

Author SHA1 Message Date
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
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 5fe32c8bfd d3d10: Get rid of the unused idx_offset field from struct d3d10_effect_object. 2012-09-19 23:54:53 +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
Henri Verbeet 31fc68146c d3d10: Implement d3d10_effect_rasterizer_variable_GetBackingStore(). 2012-07-20 14:00:18 +02:00
Henri Verbeet a1fcb53799 d3d10: Add support for parsing rasterizer states. 2012-07-20 14:00:10 +02:00
Henri Verbeet b15e7d7e23 d3d10/tests: Add a test for default state values. 2012-07-20 14:00:02 +02:00
Henri Verbeet 2d5fdb1683 d3d10: Add support for parsing stencil reference values to parse_fx10_object(). 2012-07-18 17:12:36 +02:00
Henri Verbeet 1cfba6cefb d3d10: Add support for parsing sample masks to parse_fx10_object(). 2012-07-18 17:12:35 +02:00
Henri Verbeet d53ad3acb0 d3d10: Add support for parsing blend factors to parse_fx10_object(). 2012-07-18 17:12:35 +02:00
Henri Verbeet fa6a8396a0 d3d10: COM cleanup for the ID3D10EffectVariable interface. 2012-04-16 12:05:03 +02:00
Henri Verbeet 863578cc29 d3d10: Handle D3D10_SVT_BUFFER. 2012-01-03 23:40:43 +01:00
Henri Verbeet 79d1b27333 d3d10: Return D3D10_SVT_VOID instead of 0 from d3d10_variable_type().
This is the same value, but makes it more obvious where e.g. an "Unhandled
basetype D3D10_SVT_VOID." message would come from.
2012-01-03 23:40:39 +01:00
Henri Verbeet 110aa65e0d d3d10: Add a D3D10CompileEffectFromMemory() stub. 2012-01-03 23:40:36 +01:00
Henri Verbeet 49d811d872 d3d10/tests: Add a state groups test. 2012-01-03 12:37:30 +01:00
Henri Verbeet 1f0a143c3b d3d10: Add a short description to skip_dword_unknown(). 2011-12-12 10:20:48 +01:00
Henri Verbeet 989a643587 d3d10: Implement D3D10StateBlockMaskUnion(). 2011-11-18 14:26:15 +01:00
Henri Verbeet 7cce4453d4 d3d10: Implement D3D10StateBlockMaskIntersect(). 2011-11-17 11:37:16 +01:00
Henri Verbeet 380f989c4a d3d10: Implement D3D10StateBlockMaskGetSetting(). 2011-11-17 11:37:11 +01:00
Henri Verbeet c7feb3a533 d3d10: Implement D3D10StateBlockMaskEnableCapture(). 2011-11-17 11:37:03 +01:00
Henri Verbeet be7122034f d3d10: Implement D3D10StateBlockMaskEnableAll(). 2011-11-16 09:41:46 +01:00
Henri Verbeet 5ffa2aba23 d3d10: Implement D3D10StateBlockMaskDisableCapture(). 2011-11-16 09:41:43 +01:00
Henri Verbeet 88a55a04a3 d3d10: Implement D3D10StateBlockMaskDisableAll(). 2011-11-16 09:41:36 +01:00
Henri Verbeet a11a171366 d3d10: Implement D3D10StateBlockMaskDifference(). 2011-11-15 16:09:09 +01:00
Henri Verbeet 84f90f6ea8 d3d10: Add a stub ID3D10StateBlock implementation. 2011-11-15 16:08:54 +01:00
Andrew Talbot f9b424e919 d3d10: Mark a fall-through in a switch statement. 2011-09-26 18:13:31 +02:00
Frédéric Delanoy f932abf326 dlls: Assorted spelling fixes. 2011-08-01 18:26:27 +02:00
Michael Stefaniuc c69bb92463 d3d10: COM cleanup for the ID3D10ShaderReflection iface. 2011-06-03 13:57:19 +02:00
Michael Stefaniuc 9635f8b6ef d3d10: COM cleanup for the ID3D10Effect iface. 2011-06-03 13:57:16 +02:00
Michael Stefaniuc f7214ada84 d3d10: COM cleanup for the ID3D10EffectTechnique iface. 2011-06-03 13:57:10 +02:00
Michael Stefaniuc c412353a05 d3d10: COM cleanup for the ID3D10EffectPass iface. 2011-06-03 13:57:05 +02:00
Michael Stefaniuc e6b29add01 d3d10: COM cleanup for the ID3D10EffectType iface. 2011-06-02 16:23:48 +02:00
Henri Verbeet 73637fcbc6 d3d10: Remove a redundant assignment in parse_fx10_object() (LLVM/Clang). 2011-01-26 15:00:11 +01:00
Rico Schüller 9e0f26cdd6 d3d10: Forward D3D10GetShaderDebugInfo() to d3dcompiler. 2010-10-15 16:17:51 +02:00
Rico Schüller 8607be1f81 d3d10: Forward D3D10GetInputAndOutputSignatureBlob() to d3dcompiler. 2010-10-15 16:17:50 +02:00
Rico Schüller 930f7ed3c6 d3d10: Forward D3D10GetOutputSignatureBlob() to d3dcompiler. 2010-10-15 16:17:50 +02:00
Rico Schüller 13893afb8e d3d10: Forward D3D10GetInputSignatureBlob() to d3dcompiler. 2010-10-15 16:17:50 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Matteo Bruni da783ee57d d3d10: Implement D3D10CompileShader, forward to d3dcompiler. 2010-08-30 11:26:28 +02:00
Rico Schüller 1394627fcc d3d10: Forward D3D10CreateBlob to d3dcompiler_43.dll. 2010-08-17 11:42:39 +02:00
Rico Schüller 0d18e35b28 d3d10: Add a stub ID3D10ReflectShader implementation. 2010-07-23 12:43:24 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Rico Schüller 51c2542631 d3d10: Add data and size check to parse_dxbc(). 2010-07-21 13:23:56 +02:00
Rico Schüller 53ea5de666 d3d10: Move some helper funcs to utils. 2010-07-21 13:23:56 +02:00
Francois Gouget 7d66375fba d3d10/tests: Add a trailing '\n' to ok() calls. 2010-06-22 20:03:32 +02:00
Rico Schüller af93f1ab33 d3d10: Add argument check to ID3D10Effect::GetTechniqueByName(). 2010-05-17 12:42:32 +02:00
Rico Schüller 89b0c84375 d3d10/tests: Add ID3D10Effect::GetVariableBy*() test. 2010-05-06 14:19:03 +02:00