Commit Graph

273 Commits

Author SHA1 Message Date
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
Rico Schüller b0b9897f9f d3d10: Add argument check in ID3D10Effect::GetVariableByName(). 2010-05-06 14:18:55 +02:00
Rico Schüller 337c5d2730 d3d10: Implement ID3D10Effect::GetVariableBySemantic(). 2010-05-06 14:18:50 +02:00
Rico Schüller be3c8db22c d3d10: Parse semantic in parse_fx10_local_variable(). 2010-05-06 14:18:43 +02:00
Rico Schüller 2b17e29183 d3d10: Implement ID3DEffectVariable::GetOutputSignatureElementDesc(). 2010-04-08 17:34:18 +02:00
Rico Schüller 055a0f0d6c d3d10: Implement ID3DEffectVariable::GetInputSignatureElementDesc(). 2010-04-08 17:34:18 +02:00
Rico Schüller bd4bacba1e d3d10: Move the effect shader input signature into a separate struct. 2010-04-08 17:34:17 +02:00
Rico Schüller ce409fe65c d3d10: Fix an ERR message in parse_fx10_body(). 2010-04-08 17:34:17 +02:00
Mikhail Maroukhine 3d62b870a1 d3d10: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:12:30 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Rico Schüller 71a96755b2 d3d10: Fix a HeapFree() in d3d10_effect_Release(). 2010-02-16 10:44:12 +01:00
Rico Schüller f816210c21 d3d10/tests: Add effect shader test. 2010-02-12 15:52:25 +01:00
Rico Schüller 893b0b9d40 d3d10/tests: Use a wrapper function for D3D10CreateEffectFromMemory(). 2010-02-12 15:52:25 +01:00
Rico Schüller 37b7de2bfd d3d10: Add D3D10_EOO_PARSED_OBJECT_INDEX in parse_fx10_object(). 2010-01-25 13:25:51 +01:00
Rico Schüller 7a12bf9841 d3d10: Add D3D10_EOO_PARSED_OBJECT in parse_fx10_object(). 2010-01-25 13:25:46 +01:00
Rico Schüller f811cd3e0d d3d10: Implement ID3D10EffectType::IsValid(). 2010-01-25 13:25:41 +01:00
Rico Schüller 104e422b0c d3d10: Implement ID3D10EffectPass::GetPixelShaderDesc(). 2010-01-25 13:25:37 +01:00
Rico Schüller 3961b7b881 d3d10: Implement ID3D10EffectPass::GetGeometryShaderDesc(). 2010-01-25 13:25:32 +01:00
Rico Schüller 07b96240f1 d3d10: Implement ID3D10EffectPass::GetVertexShaderDesc(). 2010-01-25 13:25:27 +01:00
Rico Schüller ef47f8d336 d3d10: Parse shaders in parse_fx10_local_variable(). 2010-01-25 13:25:20 +01:00
Rico Schüller 3b56f259ce d3d10: Add anonymous shaders. 2010-01-25 13:25:05 +01:00
Michael Stefaniuc ea5896861f d3d10: Remove break after return (Smatch). 2010-01-18 14:17:11 +01:00
Michael Stefaniuc 5cc257e5c2 d3d10: Remove superfluous NULL check before HeapFree (Smatch). 2010-01-18 14:17:07 +01:00
Rico Schüller 0b4e6c71b5 d3d10: Parse effect shaders as anonymous shaders. 2010-01-11 11:32:36 -06:00
Rico Schüller 0682453d14 d3d10: Reorder struct d3d10_effect_variable to make the initialisation nicer. 2010-01-11 11:32:25 -06:00
Henri Verbeet efbd38ae84 dxgi: The "unknown0" parameter to DXGID3D10CreateDevice() is a pointer.
Fixes stack corruption in the 64-bit tests. Thanks to Paul Vriens for debugging this.
2009-12-08 12:33:43 +01:00
Henri Verbeet b74642ff0b d3d10: Add a D3D10GetPixelShaderProfile() stub. 2009-11-04 13:07:57 +01:00
Henri Verbeet 274d21a443 d3d10: Add a D3D10GetGeometryShaderProfile() stub. 2009-11-04 13:07:57 +01:00
Henri Verbeet f4f6324248 d3d10: Add a D3D10GetVertexShaderProfile() stub. 2009-11-04 13:07:57 +01:00
Rico Schüller 216ae014ee d3d10/tests: Add constant buffer stride test. 2009-11-03 22:27:49 +01:00
Rico Schüller d390e60320 d3d10/tests: Add GetParentConstantBuffer() checks to effect variable type and class test. 2009-11-03 22:27:46 +01:00
Rico Schüller 51fcacb8a9 d3d10/tests: Add IsValid() checks to effect variable type and class test. 2009-11-03 22:27:43 +01:00
Rico Schüller b8883547af d3d10/tests: Add effect variable type and class test. 2009-11-03 22:27:40 +01:00
Rico Schüller d5ac732ceb d3d10: Initialize *->buffer for all effect variables. 2009-11-03 22:26:51 +01:00
Rico Schüller bd83a874b3 d3d10: Improve constant buffer stride and size_unpacked calculation. 2009-11-03 22:26:45 +01:00
Rico Schüller b188cb132c d3d10: Mark annotation variable as annotation. 2009-10-28 13:15:55 +01:00
Rico Schüller ef07411ebf d3d10: Implement ID3D10EffectVariable::AsShader(). 2009-10-28 13:15:51 +01:00
Rico Schüller 4ef1031699 d3d10: Implement ID3D10EffectVariable::AsSampler(). 2009-10-28 13:15:47 +01:00
Rico Schüller 3db6ec57ff d3d10: Implement ID3D10EffectVariable::AsRasterizer(). 2009-10-28 13:15:42 +01:00
Rico Schüller 48673eec29 d3d10: Implement ID3D10EffectVariable::AsDepthStencil(). 2009-10-28 13:15:38 +01:00
Rico Schüller 53e00e12ba d3d10: Implement ID3D10EffectVariable::AsBlend(). 2009-10-28 13:15:33 +01:00