Commit Graph

61 Commits

Author SHA1 Message Date
Zebediah Figura 72b74d7cdc d3dcompiler: Parse type name strings.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-31 08:30:39 +02:00
Alexandre Julliard c8d34ef088 d3dcompiler: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 14:59:40 +02:00
Philip Rebohle b1f9cd57be d3dcompiler: Accept a stat chunk size of 28 for reflection.
Fixes "unhandled size" error for Crysis shaders.

Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 20:01:21 +02:00
Piotr Caban 1b56d13da3 d3dcompiler: Don't use strcasecmp.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-09 19:33:48 +02:00
Matteo Bruni 293e2b55ad d3dcompiler: Actually define the correct ID3D11ShaderReflection GUIDs.
Spotted by Andrey Gusev.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-04 19:20:49 +01:00
Andrey Gusev d52b53d151 d3dcompiler: Add support for two other versions of ID3D11ShaderReflection.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-28 22:22:42 +01: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 907854d4a2 d3dcompiler_43: Removed no longer needed wine_rb_init error handling.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-02 11:26:45 +09:00
Andrey Gusev 1f29734b18 d3dcompiler_43: Fix a typo. 2013-12-02 11:09:07 +01:00
Frédéric Delanoy 27947d2662 d3dcompiler_43: Use BOOL type where appropriate. 2013-11-08 12:46:15 +01:00
Henri Verbeet 5daf5e80fb d3dcompiler: Avoid LPVOID. 2013-09-06 12:00:24 +02:00
Henri Verbeet 36190dd5e6 d3dcompiler: Avoid LPCSTR. 2013-09-05 13:18:24 +02:00
Michael Stefaniuc 536bdfde27 d3dcompiler_43: Remove ERR() on HeapAlloc failure for small sizes known at compile time. 2013-02-08 10:44:36 +01:00
Rico Schüller c49f09d6f8 d3dcompiler: Fix HeapAlloc/HeapFree for type members in the reflection parser. 2011-04-13 14:13:53 +02:00
Rico Schüller 96aa08ecfd d3dcompiler: Make some variables static. 2011-04-04 13:43:33 +02:00
Marcus Meissner 1548c2b985 d3dcompiler_43: Initialize a variable (Coverity). 2011-03-15 17:14:07 +01:00
Francois Gouget fdf97125cb d3dcompiler_43: Add a '\n' to a couple of FIXME() traces. 2011-03-07 11:08:38 +01:00
Rico Schüller 7832577ad7 d3dcompiler: Add debug helper for shader variable type. 2011-03-04 16:25:58 +01:00
Rico Schüller 525dee0778 d3dcompiler: Add debug helper for shader variable class. 2011-03-04 16:25:58 +01:00
Rico Schüller 5861deaefc d3dcompiler: Move some code from header to source file. 2011-03-02 12:50:58 +01:00
Rico Schüller 4080242d7f d3dcompiler: Implement ID3D11ShaderReflectionType::IsEqual(). 2011-03-02 12:50:58 +01:00
Rico Schüller f7571743c9 d3dcompiler: Use defines for shader target masks. 2011-03-01 13:21:58 +01:00
Rico Schüller f9696983cf d3dcompiler: Implement ID3D11ShaderReflectionType::GetMemberTypeName(). 2011-03-01 13:21:58 +01:00
Rico Schüller 54b5364988 d3dcompiler: Implement ID3D11ShaderReflectionType::GetMemberTypeByName(). 2011-03-01 13:21:58 +01:00
Rico Schüller 3ca651cce1 d3dcompiler: Implement ID3D11ShaderReflectionType::GetMemberTypeByIndex(). 2011-03-01 13:21:58 +01:00
Rico Schüller a300481187 d3dcompiler: Parse member types. 2011-03-01 13:21:58 +01:00
Rico Schüller 3c1ffbf2e7 d3dcompiler: Reorder section parsing to reflect the order from the shader blob. 2011-02-28 11:10:25 +01:00
Rico Schüller 3f04448dbb d3dcompiler: Fix SystemValueType for pixelshader output signature. 2011-02-28 11:10:12 +01:00
Rico Schüller 12d4683f05 d3dcompiler: Implement ID3D11ShaderReflectionVariable::GetType(). 2011-02-23 18:21:36 +01:00
Rico Schüller c647243ed9 d3dcompiler: Implement ID3D11ShaderReflectionType::GetDesc(). 2011-02-23 18:21:34 +01:00
Rico Schüller 3c75a985e3 d3dcompiler: Implement ID3D11ShaderRefleflection::GetVariableByName(). 2011-02-23 18:21:32 +01:00
Rico Schüller e8c6ea220d d3dcompiler: Implement ID3D11ShaderReflectionVariable::GetBuffer(). 2011-02-22 12:28:59 +01:00
Rico Schüller 49651c105e d3dcompiler: Implement ID3D11ShaderReflectionVariable::GetDesc(). 2011-02-22 12:28:55 +01:00
Rico Schüller a386f480be d3dcompiler: Implement ID3D11ShaderReflectionConstantBuffer::GetVariableByName(). 2011-02-22 12:28:51 +01:00
Rico Schüller 73f9d9f516 d3dcompiler: Implement ID3D11ShaderReflectionConstantBuffer::GetVariableByIndex(). 2011-02-22 12:28:46 +01:00
Rico Schüller debfb06148 d3dcompiler: Parse reflection types. 2011-02-22 12:28:37 +01:00
Rico Schüller 0e8d142ea6 d3dcompiler: Parse reflection variables. 2011-02-21 12:58:58 +01:00
Rico Schüller c6ec32aec7 d3dcompiler: Implement ID3D11ShaderReflectionConstantBuffer::GetDesc(). 2011-02-21 12:58:57 +01:00
Rico Schüller dd934099e1 d3dcompiler: Implement ID3D11ShaderReflection::GetConstantBufferByName(). 2011-02-21 12:58:55 +01:00
Rico Schüller a7483f4bcc d3dcompiler: Implement ID3D11ShaderReflection::GetConstantBufferByIndex(). 2011-02-21 12:58:53 +01:00
Rico Schüller 3f6c54f263 d3dcompiler: Parse reflection constant buffers. 2011-02-21 12:58:50 +01:00
Rico Schüller cacff4b3a0 d3dcompiler: Implement ID3DShaderReflection::GetResourceBindingDescByName(). 2011-02-14 12:26:08 +01:00
Rico Schüller 162233eb63 d3dcompiler: Implement ID3DShaderReflection::GetResourceBindingDesc(). 2011-02-14 12:26:04 +01:00
Rico Schüller 5ad824a178 d3dcompiler: Parse bound resources. 2011-02-14 12:26:00 +01:00
Rico Schüller 19fea20963 d3dcompiler: Parse OSG5 in the reflection interface. 2011-02-08 09:04:27 -06:00
Rico Schüller ba9d311f0d d3dcompiler: Implement ID3D11ReflectionInterface::GetDesc(). 2010-12-28 16:35:40 +01:00
Rico Schüller 127d07a3cc d3dcompiler: Add initial SHDR and SHEX parsing. 2010-12-28 16:35:40 +01:00
Rico Schüller a2a7000eeb d3dcompiler: Add initial RDEF parsing. 2010-12-28 16:35:40 +01:00
Rico Schüller 97988d63d8 d3dcompiler: Implement ID3D11ShaderReflection::GetPatchConstantParameterDesc(). 2010-12-22 13:00:13 +01:00
Rico Schüller bf1065ea6d d3dcompiler: Implement ID3D11ShaderReflection::GetOutputParameterDesc(). 2010-12-22 13:00:13 +01:00