Commit Graph

174 Commits

Author SHA1 Message Date
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
Henri Verbeet 8de9fea564 d3d10: Use debugstr_a()/debugstr_an() to trace external strings. 2009-09-09 12:06:31 +02:00
Henri Verbeet 9882788ac5 d3d10: Implement ID3D10EffectType::GetDesc(). 2009-09-09 12:06:10 +02:00
Henri Verbeet 559351ea9c d3d10: Implement ID3D10EffectVariable::GetType(). 2009-09-09 12:06:03 +02:00
Henri Verbeet 7f886a2b95 d3d10: Add initial support for parsing structures. 2009-09-09 12:05:53 +02:00
Henri Verbeet a2db7e2b77 d3d10: Parse an effect type's basetype and class. 2009-09-09 12:05:46 +02:00
Rico Schüller 3f99f4bf90 d3d10: Add initial type parsing code. 2009-09-09 12:05:34 +02:00
Henri Verbeet 400ff9f72d d3d10: Implement IsValid() for a few interfaces. 2009-09-08 13:05:52 +02:00
Rico Schüller 45c27e12d4 d3d10: Add argument check in ID3D10EffectPass::GetDesc. 2009-08-31 16:07:10 +02:00
Rico Schüller 247b867952 d3d10: Add argument check in ID3D10EffectTechnique::GetDesc. 2009-08-31 16:07:06 +02:00
Rico Schüller 78741d2717 d3d10: Add null objects for technique, pass, local_buffer and variable. 2009-08-31 16:06:42 +02:00
Rico Schüller 739759bf8b d3d10: Parse variable flag. 2009-08-27 13:36:13 +02:00
Rico Schüller 09e258a186 d3d10: Identify some more unknowns in parse_fx10. 2009-08-27 13:36:10 +02:00
Rico Schüller 48f66efbfe d3d10: Implement GetConstantBufferByIndex. 2009-08-21 11:59:35 +02:00
Rico Schüller 2381c0e560 d3d10: Implement GetConstantBufferByName. 2009-08-21 11:59:30 +02:00
Rico Schüller 91c00c175b d3d10: Add ID3D10EffectConstantBufferVtbl. 2009-08-21 11:59:22 +02:00
Rico Schüller 033eb8d7cf d3d10: Add annotation skipping. 2009-08-21 11:56:15 +02:00
Henri Verbeet a5d9536542 d3d10: Implement ID3D10Effect::GetVariableByName(). 2009-07-15 13:25:35 +02:00
Henri Verbeet f58405f647 d3d10: Parse effect variables. 2009-07-15 13:25:27 +02:00