Commit Graph

192 Commits

Author SHA1 Message Date
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 1f0a143c3b d3d10: Add a short description to skip_dword_unknown(). 2011-12-12 10:20:48 +01:00
Frédéric Delanoy f932abf326 dlls: Assorted spelling fixes. 2011-08-01 18:26:27 +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 53ea5de666 d3d10: Move some helper funcs to utils. 2010-07-21 13:23:56 +02:00
Rico Schüller af93f1ab33 d3d10: Add argument check to ID3D10Effect::GetTechniqueByName(). 2010-05-17 12:42:32 +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
Rico Schüller 71a96755b2 d3d10: Fix a HeapFree() in d3d10_effect_Release(). 2010-02-16 10:44:12 +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
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
Rico Schüller b1e56fae01 d3d10: Implement ID3D10EffectVariable::AsConstantBuffer(). 2009-10-28 13:15:28 +01:00
Rico Schüller 7b91b36d93 d3d10: Implement ID3D10EffectVariable::AsDepthStencilView(). 2009-10-28 13:15:23 +01:00
Rico Schüller 31383cad51 d3d10: Implement ID3D10EffectVariable::AsRenderTargetView(). 2009-10-28 13:15:18 +01:00
Rico Schüller fee2d53204 d3d10: Implement ID3D10EffectVariable::AsShaderResource(). 2009-10-28 13:15:13 +01:00
Rico Schüller 2c3674d6ce d3d10: Implement ID3D10EffectVariable::AsString(). 2009-10-28 13:15:08 +01:00
Rico Schüller 607a643bcc d3d10: Fix a HeapFree() in d3d10_effect_Release(). 2009-10-28 13:15:02 +01:00
Rico Schüller 8c090941bb d3d10: Improve set_variable_vtbl(). 2009-10-27 11:28:56 +01:00
Rico Schüller da5cd60008 d3d10: Add ID3D10EffectShaderVariableVtbl. 2009-10-27 11:28:50 +01:00
Rico Schüller 5fe60e8bdb d3d10: Add ID3D10EffectDepthStencilViewVariableVtbl. 2009-10-27 11:28:41 +01:00
Rico Schüller baa3d77fde d3d10: Add ID3D10EffectRenderTargetViewVariableVtbl. 2009-10-27 11:28:28 +01:00
Rico Schüller d070923e69 d3d10: Add ID3D10EffectShaderResourceVariableVtbl. 2009-10-27 11:28:22 +01:00
Rico Schüller d7ad962854 d3d10: Add ID3D10EffectStringVariableVtbl. 2009-10-27 11:28:15 +01:00
Rico Schüller 4856334785 d3d10: Add ID3D10EffectSamplerVariableVtbl. 2009-10-27 11:28:08 +01:00
Rico Schüller 94d743c575 d3d10: Add ID3D10EffectRasterizerVariableVtbl. 2009-10-27 11:28:03 +01:00
Rico Schüller 3000abae9b d3d10: Add ID3D10EffectDepthStencilVariableVtbl. 2009-10-27 11:27:56 +01:00
Rico Schüller 1b0404f69e d3d10: Add ID3D10EffectBlendVariableVtbl. 2009-10-27 11:27:50 +01:00
Rico Schüller b66733aabb d3d10: Improve ID3D10Effect::GetVariableByName(). 2009-10-27 11:27:43 +01:00
Rico Schüller 135966f22e d3d10: Implement ID3D10Effect::GetVariableByIndex(). 2009-10-27 11:27:24 +01:00
Rico Schüller b55641f14a d3d10: Parse local_variables. 2009-10-26 11:43:11 +01:00
Rico Schüller 7e1ad91ea4 d3d10: Improve parse_fx10_type(). 2009-10-26 11:43:04 +01:00
Rico Schüller 22d8fc081a d3d10: Add matrix column major parsing. 2009-10-26 11:42:58 +01:00
Rico Schüller 0da0fa7e4d d3d10: Improve d3d10_variable_type(). 2009-10-26 11:42:52 +01:00
Rico Schüller 083d5ced8e d3d10: Implement ID3D10EffectConstantBuffer::GetParentConstantBuffer(). 2009-10-22 15:45:56 +02:00
Rico Schüller 8e2e7eb1e9 d3d10: Implement ID3D10EffectVariable::GetElement(). 2009-10-22 15:45:51 +02:00
Henri Verbeet b8668a9ce5 d3d10: Explicitly handle D3D10_SVC_STRUCT in set_variable_vtbl(). 2009-10-12 12:36:10 +02:00
Rico Schüller 6f2ad69718 d3d10: Remove double declared variable in parse_fx10_variable(). 2009-10-01 14:34:42 +02:00
Rico Schüller 7b520e1f31 d3d10: Implement ID3D10EffectVariable::GetMemberBySemantic(). 2009-10-01 14:34:35 +02:00
Rico Schüller 9fdd548d2e d3d10: Implement ID3D10EffectVariable::GetMemberByName(). 2009-10-01 14:34:30 +02:00
Rico Schüller 263e29e61e d3d10: Implement ID3D10EffectVariable::GetMemberByIndex(). 2009-10-01 14:34:23 +02:00
Rico Schüller 6bb92fe109 d3d10: Implement ID3D10EffectType::GetMemberTypeBySemantic(). 2009-10-01 14:34:17 +02:00
Rico Schüller 57707fd277 d3d10: Implement ID3D10EffectType::GetMemberTypeByName(). 2009-10-01 14:34:07 +02:00
Rico Schüller 78b41be882 d3d10: Implement ID3D10EffectType::GetMemberTypeByIndex(). 2009-10-01 14:33:59 +02:00
Rico Schüller abe3737066 d3d10: Add null_type. 2009-10-01 14:33:53 +02:00
Rico Schüller ffa72d7305 d3d10: Improve ID3D10EffectType::GetMemberName(). 2009-10-01 14:33:41 +02:00
Rico Schüller 73b5e3ddad d3d10: Implement ID3D10EffectType::GetMemberSemantic(). 2009-10-01 14:33:28 +02:00
Rico Schüller 90fadf84d9 d3d10: Implement ID3D10EffectType::GetMemberName(). 2009-09-30 15:43:04 +02:00
Rico Schüller 3eb2d779e4 d3d10: Forward ID3D10EffectVariable functions from ID3D10EffectConstantBuffer to ID3D10EffectVariable. 2009-09-30 15:42:50 +02:00
Rico Schüller df9e1013d5 d3d10: Make the constant buffer a variable. 2009-09-30 15:42:34 +02:00
Rico Schüller 10a4516e50 d3d10: Parse constant buffer type. 2009-09-30 15:42:22 +02:00
Rico Schüller 835dedc964 d3d10: Rename ConstantBuffer's variable to member. 2009-09-30 15:42:04 +02:00
Rico Schüller f1d4ab3224 d3d10: Implement ID3D10EffectVariable::GetDesc(). 2009-09-11 13:24:08 +02:00
Rico Schüller 3517d75f43 d3d10: Add variable semantic parsing. 2009-09-11 13:24:03 +02:00
Henri Verbeet ff5991ce42 d3d10: Move effect variable vtable initialization to parse_fx10_variable_head(). 2009-09-11 12:09:06 +02:00
Henri Verbeet b0c4620802 d3d10: Use the shader variable class/type debug functions in parse_fx10_type().
This got lost by 7c156c5753.
2009-09-11 12:08:57 +02:00
Rico Schüller f493e56d4d d3d10: Implement ID3D10EffectConstantBuffer::GetAnnotationByName(). 2009-09-10 12:20:18 +02:00
Rico Schüller 96c2b578fe d3d10: Implement ID3D10EffectVariable::GetAnnotationByName(). 2009-09-10 12:20:11 +02:00
Rico Schüller 15a0274fe4 d3d10: Implement ID3D10EffectPass::GetAnnotationByName(). 2009-09-10 12:20:05 +02:00
Rico Schüller 4e1950b706 d3d10: Implement ID3D10EffectTechnique::GetAnnotationByName(). 2009-09-10 12:19:59 +02:00
Rico Schüller e6af0472b3 d3d10: Implement ID3D10EffectConstantBuffer::GetAnnotationByIndex(). 2009-09-10 12:19:51 +02:00
Rico Schüller 4d91fba96f d3d10: Implement ID3D10EffectVariable::GetAnnotationByIndex(). 2009-09-10 12:19:44 +02:00
Rico Schüller c2f5c3235c d3d10: Implement ID3D10EffectPass::GetAnnotationByIndex(). 2009-09-10 12:19:36 +02:00
Rico Schüller d12dcbe852 d3d10: Implement ID3D10EffectTechnique::GetAnnotationByIndex(). 2009-09-10 12:19:28 +02:00
Rico Schüller f63f6fc0c3 d3d10: Implement annotation parsing. 2009-09-10 12:19:19 +02:00
Rico Schüller 7c156c5753 d3d10: Reorder some functions. 2009-09-10 12:18:58 +02:00
Henri Verbeet 508635ac4c d3d10: Implement ID3D10EffectVariable::AsMatrix(). 2009-09-10 10:50:10 +02:00
Henri Verbeet 58fcb06c07 d3d10: Implement ID3D10EffectVariable::AsVector(). 2009-09-10 10:50:04 +02:00
Henri Verbeet fbbbdc09a5 d3d10: Implement ID3D10EffectVariable::AsScalar(). 2009-09-10 10:49:59 +02:00
Henri Verbeet ecc6a9519f d3d10: Add a debug function for D3D10_SHADER_VARIABLE_TYPE. 2009-09-10 10:49:42 +02:00
Henri Verbeet 7f617f3d2e d3d10: Add a debug function for D3D10_SHADER_VARIABLE_CLASS. 2009-09-10 10:49:36 +02:00