Paul Gofman
c30b91d382
d3dx9: Compare parameter definition instead of parameter handle in IsParameterUsed().
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-19 09:09:35 +02:00
Paul Gofman
5029c2c0fd
d3dx9: Use magic number instead of parameter tables for parameter handles.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-19 09:09:33 +02:00
Paul Gofman
2b18cd4321
d3dx9: Preserve states regardless of state manager presence.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-10 22:12:45 +02:00
Paul Gofman
d6ab655a09
d3dx9: Support effect state manager.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-10 22:12:44 +02:00
Paul Gofman
a844ce7dc4
d3dx9: Don't apply unmodified states in CommitChanges().
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-21 20:52:38 +01:00
Matteo Bruni
f68de78d9e
d3dx9: Override d3dx9_get_param_value_ptr() return value only on array overflow.
...
Incidentally this exposes a few test failures (due to not supporting
relative addressing in preshaders) previously masked by the broad
override.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-21 20:52:38 +01:00
Paul Gofman
af4e4a9af5
d3dx9: Set dirty flag on parameter change.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-16 10:05:24 +01:00
Matteo Bruni
901c96ef9c
d3dx9: Avoid overflowing debug channel buffer when tracing ASCII effect errors.
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:54:18 +09:00
Andrey Gusev
d8641197c0
d3dx9_36: Fix typos in comments.
...
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>
2016-06-03 23:31:03 +09:00
Paul Gofman
fe1a89d14f
d3dx9: Implement IsParameterUsed function in effect.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-31 11:31:26 +09:00
Paul Gofman
dca016d7dc
d3dx9: Add is_param_type_sampler() helper function.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-27 00:14:41 +09:00
Paul Gofman
453d9f7bce
d3dx9: Implement setting named shader constants in effect.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-19 23:29:25 +09:00
Matteo Bruni
9d725b1778
d3dx9: Free old object data when reusing effect object.
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-19 13:44:51 +09:00
Matteo Bruni
e7021c6a03
d3dx9: Don't complain when overwriting effect object id 0.
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-18 15:07:10 +09:00
Paul Gofman
4620bb80b0
d3dx9: Implement array selectors in effect.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-18 15:05:30 +09:00
Paul Gofman
43208b6348
d3dx9: Implement fxlc constants (expressions) in effect.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-18 15:05:15 +09:00
Paul Gofman
8eeeb4d1e1
d3dx9: Introduce preshaders in effect.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-29 10:36:47 +09:00
Francois Gouget
f030fbe0a2
d3dx9_36: Make d3dx_set_shader_const_state() static.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-23 11:28:55 +09:00
Matteo Bruni
4d1192ad89
d3dx9: Cleanup header includes.
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-15 14:12:29 +09:00
Henri Verbeet
20f7abf667
d3dx9: "param" should never be NULL in free_parameter().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-13 15:41:41 +09:00
Paul Gofman
1da5af9364
d3dx9: Support setting texture through SetValue in effect.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-09 18:40:34 +09:00
Matteo Bruni
9bfacd24d2
d3dx9: Trace the parameter passed to IsParameterUsed().
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-08 11:13:16 +09:00
Paul Gofman
ea13805e83
d3dx9: IsParameterUsed stub should return TRUE.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-08 11:13:10 +09:00
Paul Gofman
afcb6dc891
d3dx9: Implement CommitChanges in effect.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-04 11:35:36 +09:00
Paul Gofman
c1487eee3e
d3dx9: Implement state save and restore in effect.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-04 11:35:33 +09:00
Paul Gofman
3aa22f47a8
d3dx9: Implement sampler and texture effect states application.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-04 11:35:31 +09:00
Paul Gofman
ec6124f15d
d3dx9: Implement shader constants effect states application.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-04 11:35:28 +09:00
Paul Gofman
6df87a6647
d3dx9: Implement light and material effect states application.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-04 11:35:25 +09:00
Paul Gofman
91c5f11537
d3dx9: Implement simple effect states application.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-04 11:35:22 +09:00
Andrey Gusev
d3177504b1
Assorted spelling and typos fixes.
2015-08-31 20:18:46 +09:00
Matteo Bruni
b3c5d2ccda
d3dx9: Skip the AddRef/Release calls if the new texture is the same as the old one.
2014-04-17 19:06:08 +02:00
Matteo Bruni
96b0b91752
d3dx9: Copy the entire vector at once if there is no need of type conversions.
2014-04-17 13:53:06 +02:00
Matteo Bruni
5cfca92c53
d3dx9: Copy the entire matrix at once if there is no need of type conversions.
2014-03-18 11:39:40 +01:00
Matteo Bruni
1e2fbcc99b
d3dx9: Split out set_matrix_transpose from set_matrix.
2014-03-18 11:39:37 +01:00
Matteo Bruni
babf0dca03
d3dx9: Parse "usage 2" effect resources.
2014-03-18 11:39:34 +01:00
Matteo Bruni
0e0b613192
d3dx9: Store pointers to referenced parameters for "usage 1" resources.
2014-03-18 11:39:31 +01:00
Matteo Bruni
aef52a1d13
d3dx9: Create shaders and strings.
2014-03-18 11:39:26 +01:00
Matteo Bruni
7617951dfd
d3dx9: Correctly handle empty parameter data.
2014-03-13 20:22:19 +01:00
Matteo Bruni
db4bf1e1d4
d3dx9: Fix a WARN.
2014-03-13 20:22:14 +01:00
Matteo Bruni
83c3f8c9ed
d3dx9: Free string data.
2014-03-05 19:18:20 +01:00
Matteo Bruni
7788161c91
d3dx9: Introduce a handle table for parameters to make lookup faster.
2014-03-05 19:18:11 +01:00
Matteo Bruni
db8e1df742
d3dx9: Fix an error trace.
2014-03-05 19:17:12 +01:00
Matteo Bruni
9008971bde
d3dx9: Improve a number of WARN messages.
2014-03-03 17:53:50 +01:00
Matteo Bruni
c6fefc20a6
d3dx9: Turn D3DXCreateEffectEx FIXME into a TRACE, improve it a bit.
2014-03-03 17:53:34 +01:00
Matteo Bruni
244100f01c
d3dx9: Remove Begin/End stub fixmes.
2014-02-25 14:17:59 -06:00
Matteo Bruni
62288d02be
d3dx9: Call D3DCompile() for ASCII effects.
2014-02-25 14:17:45 -06:00
Matteo Bruni
b86b3dfa40
d3dx9: Calling CommitChanges with no active pass silently returns.
2014-02-25 14:17:35 -06:00
Stefan Dösinger
e1a845c213
d3dx9_36: Cast D3DPARAMETER_TYPE * to DWORD *.
2014-01-06 20:46:45 +01:00
Rico Schüller
bc1d6e5098
d3dx9: Don't allocate the state parameter.
2013-10-07 14:44:35 +02:00
Rico Schüller
f7ba8e1472
d3dx9: Use struct d3dx_object for objects.
2013-09-25 13:33:25 +02:00
Henri Verbeet
49a3dbc453
d3dx9: Avoid CONST.
2013-09-20 11:27:49 +02:00
Henri Verbeet
871967d0fb
d3dx9: Avoid LPVOID.
2013-09-04 11:37:06 +02:00
Henri Verbeet
76e35a2939
d3dx9: Avoid LPCVOID.
2013-09-03 16:58:18 +02:00
Henri Verbeet
77ee90b59f
d3dx9: Avoid LPSTR.
2013-09-03 16:58:17 +02:00
Henri Verbeet
75511e351c
d3dx9: Avoid LPCSTR.
2013-09-02 18:02:48 +02:00
Henri Verbeet
2a24b11af5
d3dx9: Avoid LPWSTR.
2013-09-02 18:02:46 +02:00
Henri Verbeet
34c7024790
d3dx9: Simplify D3DXCreateEffectCompilerFromResourceW().
2013-08-26 10:50:51 +02:00
Henri Verbeet
1be05ff731
d3dx9: Simplify D3DXCreateEffectCompilerFromResourceA().
2013-08-26 10:50:49 +02:00
Henri Verbeet
37d67eb629
d3dx9: Simplify D3DXCreateEffectFromResourceExW().
2013-08-23 10:41:40 +02:00
Henri Verbeet
f60b28138e
d3dx9: Simplify D3DXCreateEffectFromResourceExA().
2013-08-23 10:41:38 +02:00
Henri Verbeet
c2eabf9e68
d3dx9: Get rid of some unused vtbl forward declarations.
2013-08-22 10:26:51 +02:00
Henri Verbeet
1cb70eb07a
d3dx9: ID3DXBaseEffectImpl doesn't need to be a COM implementation.
2013-08-21 12:13:56 +02:00
Rico Schüller
e5a9dcf945
d3dx9: Introduce a helper function for the annotations.
2013-08-16 11:55:24 +02:00
Rico Schüller
fab44cbbfb
d3dx9: Use d3dx_parameter instead of D3DXHANDLE.
2013-08-02 11:38:35 +02:00
Rico Schüller
d3b4dc92d9
d3dx9: Warn when submitting invalid flags to ID3DXEffect::Begin().
2013-08-02 11:37:25 +02:00
Rico Schüller
3ff2255a83
d3dx9: Track ID3DXEffect::Begin/End().
2013-08-02 11:37:18 +02:00
Rico Schüller
cb47245585
d3dx9: Use d3dx_pass instead of D3DXHANDLE.
2013-07-27 11:46:38 -05:00
Rico Schüller
695921564b
d3dx9: Use d3dx_technique instead of D3DXHANDLE.
2013-07-27 11:46:35 -05:00
Rico Schüller
55a4be12f8
d3dx9: Fix initialization of D3DXPC_OBJECTs.
2013-07-27 11:46:29 -05:00
Christian Costa
61bf3d45dc
d3dx9_36: Show object number in traces.
2013-07-22 17:16:03 +02:00
Christian Costa
fcb72f399d
d3dx9_36: Set compilation_errors to NULL when no error encountered + tests.
2013-06-13 17:14:06 +02:00
Christian Costa
539d28a112
d3dx9_36: Fix typo.
2013-06-04 10:13:56 +02:00
Christian Costa
bdc5c3211c
d3dx9_36: Add stub for DisassembleEffect.
2013-05-06 15:55:23 +02:00
Marcus Meissner
563f3cbc92
d3dx9_36: Use correct loop index (Coverity).
2013-04-30 11:48:50 +02:00
Christian Costa
9d18b3de14
d3dx9_36: Use more appropriate function names.
2013-04-26 16:28:02 +02:00
Michael Stefaniuc
938b62079c
d3dx9_36: Remove left over "stub" from a TRACE calls.
2013-04-19 16:16:16 +02:00
Michael Stefaniuc
20f1016bc8
d3dx9_36: Remove ERR() on HeapAlloc failure for small sizes known at compile time.
2013-02-07 15:48:26 +01:00
Henri Verbeet
36ac98df73
d3dx9: Avoid LPD3DXBUFFER.
2012-12-03 12:37:26 +01:00
Henri Verbeet
c109249445
d3dx9: Avoid LPD3DXEFFECTSTATEMANAGER.
2012-11-30 11:42:37 +01:00
Henri Verbeet
8678e890e6
d3dx9: Avoid LPD3DXEFFECTPOOL.
2012-11-30 11:42:32 +01:00
Henri Verbeet
69eeb35e51
d3dx9: Avoid LPD3DXINCLUDE.
2012-11-26 11:50:15 +01:00
Henri Verbeet
63acbcbf8a
d3dx9: Avoid LPD3DXCONSTANTTABLE.
2012-11-23 14:40:24 +01:00
Henri Verbeet
4ba6974345
d3dx9: Avoid LPDIRECT3DDEVICE9.
2012-10-29 10:47:03 +01:00
Henri Verbeet
c4f7bcc653
d3dx9: Avoid LPDIRECT3DBASETEXTURE9.
2012-10-25 22:27:29 +02:00
Henri Verbeet
0c84de4455
d3dx9: Avoid LPDIRECT3DVERTEXSHADER9.
2012-10-24 11:24:28 +02:00
Henri Verbeet
4704e78337
d3dx9: Avoid LPDIRECT3DPIXELSHADER9.
2012-10-23 12:11:30 +02:00
Rico Schüller
8fb16c955b
d3dx9: Move transpose matrix into get_matrix().
2012-09-14 11:52:02 +02:00
Rico Schüller
5b06a2d113
d3dx9: Move transpose matrix into set_matrix().
2012-09-14 11:51:58 +02:00
Rico Schüller
26914eb337
d3dx9: Use set_number instead of get_bool/int/float.
2012-09-14 11:51:55 +02:00
Rico Schüller
823d1fbc38
d3dx9: Move bool cropping into helper function.
2012-09-06 15:45:14 +02:00
Rico Schüller
65c651e376
d3dx9: Move D3DXPARAMETER_TYPE conversion helpers to util.
2012-09-06 15:44:39 +02:00
Rico Schüller
bfec155345
d3dx9: Improve traces in set_number().
2012-08-29 11:43:39 +02:00
Rico Schüller
396af0dac3
d3dx9: Optimize set_matrix().
2012-08-29 11:43:20 +02:00
Rico Schüller
77993a610e
d3dx9: Avoid TRUE : FALSE conditional expression.
2012-08-21 17:32:11 +02:00
Rico Schüller
becf83fd86
d3dx9: Remove not needed TRACE.
2012-08-21 17:32:02 +02:00
Rico Schüller
892308fdb6
d3dx9: Identify D3DTSS_CONSTANT and FVF states.
2012-08-21 17:31:58 +02:00
Rico Schüller
f9a4a9db1b
d3dx9: Don't double check the technique.
2012-08-21 17:31:54 +02:00
Rico Schüller
c1193ab79b
d3dx9: Move technique name handling to technique handle validation.
2012-08-20 14:58:39 +02:00
Rico Schüller
05818a3056
d3dx9: Use a separate function for the technique name.
2012-08-20 14:58:34 +02:00
Rico Schüller
9c1c964139
d3dx9: Silence missing function handling in the effect interface.
2012-08-20 14:58:30 +02:00
Rico Schüller
24ee16de09
d3dx9: Make annotation handling more generic for techniques and passes.
2012-08-20 14:58:22 +02:00
Rico Schüller
607c76a165
d3dx9: Improve check for empty braces for elements.
2012-08-20 14:58:10 +02:00
Rico Schüller
07ae14ad4c
d3dx9: Return NULL if name is not given.
2012-08-20 14:58:05 +02:00
Rico Schüller
9428317336
d3dx9: Implement ID3DXBaseEffect::GetMatrixTransposePointerArray().
2012-07-10 11:16:24 -05:00
Rico Schüller
d0fd8f4d88
d3dx9: Implement ID3DXBaseEffect::GetMatrixPointerArray().
2012-07-10 11:16:16 -05:00
Rico Schüller
929c669b4f
d3dx9: Implement ID3DXBaseEffect::SetMatrixTransposePointerArray().
2012-07-03 14:56:08 +02:00
Rico Schüller
e5953b6b17
d3dx9: Implement ID3DXBaseEffect::SetMatrixPointerArray().
2012-07-03 14:56:01 +02:00
Rico Schüller
f658aabfd5
d3dx9: Crop the input in ID3DXBaseEffect::SetBool().
2012-05-30 17:17:57 +02:00
Rico Schüller
fcb5b6c32c
d3dx9: Use param->bytes for copying the data in ID3DXBaseEffect::SetValue().
2012-04-18 17:40:10 +02:00
Henri Verbeet
2b1da8c77f
d3dx9: Don't return a pointer to the implementation in ID3DXBaseEffectImpl_QueryInterface().
2012-04-13 10:48:56 +02:00
Henri Verbeet
cdc2c53158
d3dx9: Don't return a pointer to the implementation in ID3DXEffectImpl_QueryInterface().
2012-04-12 20:37:00 +02:00
Henri Verbeet
86b14209a0
d3dx9: Don't return a pointer to the implementation in ID3DXEffectCompilerImpl_QueryInterface().
2012-04-12 20:36:57 +02:00
Henri Verbeet
6e05c14154
d3dx9: Don't return a pointer to the implementation in ID3DXEffectPoolImpl_QueryInterface().
2012-04-11 18:14:50 +02:00
Rico Schüller
9273ac0286
d3dx9: Use a loop in get_vector().
2011-12-22 17:19:16 +01:00
Rico Schüller
ed700553e0
d3dx9: Simplify ID3DXBaseEffect::SetInt().
2011-12-22 17:19:16 +01:00
Rico Schüller
940b50b2d8
d3dx9: Implement ID3DXBaseEffect::SetValue().
2011-12-14 17:54:45 +01:00
Rico Schüller
165afd63ce
d3dx9: Implement ID3DXBaseEffect::SetVectorArray().
2011-12-14 17:54:45 +01:00
Rico Schüller
67591832a3
d3dx9: Implement ID3DXBaseEffect::SetVector().
2011-12-14 17:54:45 +01:00
Rico Schüller
e2b1f0cce9
d3dx9: Implement ID3DXBaseEffect::GetVector().
2011-12-14 17:54:45 +01:00
Rico Schüller
90415ebdfa
d3dx9: Implement ID3DXBaseEffect::SetMatrixTranspose().
2011-12-01 14:18:51 +01:00
Rico Schüller
1e0f04e5cf
d3dx9: Implement ID3DXBaseEffect::SetMatrixTransposeArray().
2011-12-01 14:18:48 +01:00
Rico Schüller
84f158025b
d3dx9: Implement ID3DXBaseEffect::SetMatrixArray().
2011-11-29 13:55:40 +01:00
Rico Schüller
cebdbb34ac
d3dx9: Implement ID3DXBaseEffect::SetMatrix().
2011-11-29 13:55:35 +01:00
Rico Schüller
0ca1efc578
d3dx9: Implement ID3DXBaseEffect::SetBoolArray().
2011-11-29 13:55:28 +01:00
Rico Schüller
4b42b11303
d3dx9: Implement ID3DXBaseEffect::SetBool().
2011-11-29 13:55:16 +01:00
Rico Schüller
bb6f22d10e
d3dx9: Implement ID3DXBaseEffect::SetIntArray().
2011-11-28 16:40:51 +01:00
Rico Schüller
7998195f1c
d3dx9: Implement ID3DXBaseEffect::SetInt().
2011-11-28 16:40:51 +01:00
Rico Schüller
d3ed67434e
d3dx9: Implement ID3DXBaseEffect::SetFloatArray().
2011-11-28 16:40:51 +01:00
Rico Schüller
db6cf95a24
d3dx9: Implement ID3DXBaseEffect::SetFloat().
2011-11-28 16:40:51 +01:00
Rico Schüller
aaa593c094
d3dx9: Handle a special case in ID3DXBaseEffect::GetInt().
2011-11-28 16:40:51 +01:00
Rico Schüller
f7a4cabb46
d3dx9: Add count to trace in ID3DXBaseEffect::GetMatrixArray().
2011-11-16 17:18:21 +01:00
Rico Schüller
7b902d2278
d3dx9: Allow setting texture to NULL.
2011-11-16 17:18:18 +01:00
Rico Schüller
5bd3c9161c
d3dx9: Improve argument check in ID3DXBaseEffect::GetBool/Int/Float().
2011-11-16 17:18:14 +01:00
Francois Gouget
f87745d497
d3dx9_36: Fix compilation on systems that don't support nameless unions.
2011-07-24 12:33:27 +02:00
Rico Schüller
6865dac3fa
d3dx9: Implement ID3DXBaseEffect::GetMatrixTransposeArray().
2011-07-21 15:36:38 +02:00
Rico Schüller
75836b4789
d3dx9: Implement ID3DXBaseEffect::GetMatrixArray().
2011-07-21 15:36:38 +02:00
Rico Schüller
e9dc6c34a9
d3dx9: Fix ID3DXBaseEffect::GetFloat().
2011-07-21 15:36:38 +02:00
Rico Schüller
6a2be190cd
d3dx9: Implement ID3DXBaseEffect::GetMatrixTranspose().
2011-07-21 15:36:38 +02:00
Rico Schüller
2731912c5a
d3dx9: Implement ID3DXBaseEffect::GetVectorArray().
2011-07-21 15:36:38 +02:00
Rico Schüller
66a820683e
d3dx9: Implement ID3DXBaseEffect::GetMatrix().
2011-07-20 19:23:05 +02:00
Rico Schüller
f56af02f8c
d3dx9: Introduce get_valid_parameter().
2011-07-20 19:23:05 +02:00
Rico Schüller
b0f2a49f42
d3dx9: Implement ID3DXBaseEffect::SetTexture().
2011-07-20 19:23:05 +02:00
Rico Schüller
340643af30
d3dx9: Parse elements in d3dx9_parse_resource().
2011-07-13 18:39:56 +02:00
Rico Schüller
7e7549abc5
d3dx9: Handle ST_PARAMETER in d3dx9_parse resource().
2011-07-01 14:39:37 +02:00
Rico Schüller
05eef50e22
d3dx9: Handle ST_FXLC in d3dx9_parse_resource().
2011-07-01 14:39:37 +02:00
Rico Schüller
32bba812df
d3dx9: Fix ID3DXEffect::SetStateManager().
2011-06-28 16:52:28 -05:00
Rico Schüller
bc59705aca
d3dx9: Implement ID3DXEffect::EndPass().
2011-06-27 13:32:14 -05:00
Rico Schüller
b7919e65fd
d3dx9: Implement ID3DXEffect::SetTechnique().
2011-06-27 13:32:07 -05:00
Rico Schüller
69c3b4baf6
d3dx9: Implement ID3DXEffect::GetCurrentTechnique().
2011-06-27 13:31:59 -05:00
Rico Schüller
fb6c973b4b
d3dx9: Implement ID3DXEffect::BeginPass().
2011-06-27 13:31:49 -05:00
Rico Schüller
a63be635fc
d3dx9: Implement ID3DXEffect::Begin().
2011-06-27 13:31:36 -05:00
Rico Schüller
f37302ed8a
d3dx9: Fix light range spelling.
2011-06-27 13:31:20 -05:00
Gerald Pfeifer
c69331c84a
d3dx9_36: Fix the return value in error cases in d3dx9_parse_resource.
2011-06-16 11:17:28 +02:00
Rico Schüller
86d381a56b
d3dx9: Parse resources in the effect parser.
2011-06-14 16:03:23 +02:00
Marcus Meissner
6c902b4201
d3dx9_36: Moved param NULL a bit forward (Coverity).
2011-06-13 11:31:49 +02:00
Rico Schüller
90154979a0
d3dx9: Implement ID3DXBaseEffect::GetBoolArray().
2011-06-09 13:27:59 +02:00
Rico Schüller
a93b40f0fc
d3dx9: Implement ID3DXBaseEffect::GetIntArray().
2011-06-09 13:27:56 +02:00
Rico Schüller
ecf37efd82
d3dx9: Implement ID3DXBaseEffect::GetFloatArray().
2011-06-09 13:27:53 +02:00
Rico Schüller
4f55c9eab1
d3dx9: Improve effect sampler parsing.
2011-06-08 17:15:52 +02:00
Rico Schüller
93ff2c319e
d3dx9: Start effect state parsing.
2011-05-27 17:53:37 +02:00
Rico Schüller
7f426a51d1
d3dx9: Pass objects to functions instead of using the base effect in the parameter.
2011-05-25 17:54:40 +02:00
Rico Schüller
088ed09e94
d3dx9: Pass the device directly to d3dx9_parse_data().
2011-05-25 17:54:35 +02:00
Rico Schüller
0858dee303
d3dx9: Parse effect samplers.
2011-05-20 12:44:05 +02:00
Rico Schüller
e9c4e501f4
d3dx9: Fix copy and paste mistake in ID3DXBaseEffect::GetPassDesc().
2011-05-17 12:04:12 +02:00
Rico Schüller
b7b9db00e3
d3dx9: Remove some checks for defines argument in D3DXCreateEffect* functions.
2011-05-17 12:04:11 +02:00
Rico Schüller
041a651431
d3dx9: Implement ID3DXBaseEffect::GetTexture().
2011-05-13 17:57:12 +02:00
Rico Schüller
ca5b8e11cc
d3dx9: Parse effect textures.
2011-05-13 17:57:05 +02:00
Rico Schüller
ae2c6a164f
d3dx9: Improve get_parameter_by_name().
2011-05-13 17:57:02 +02:00
Rico Schüller
72d3ee3ab6
d3dx9: Implement ID3DXEffect::GetStateManager().
2011-05-11 18:02:22 +02:00
Rico Schüller
cd121b10d6
d3dx9: Implement ID3DXEffect::SetStateManager().
2011-05-11 18:02:18 +02:00
Rico Schüller
3ef0a28faf
d3dx9: Implement ID3DXBaseEffect::GetFloat().
2011-05-06 15:18:20 +02:00
Rico Schüller
033439908d
d3dx9: Implement ID3DXBaseEffect::GetInt().
2011-05-06 15:18:19 +02:00
Rico Schüller
7f3ce799de
d3dx9: Implement ID3DXBaseEffect::GetBool().
2011-05-06 15:18:19 +02:00
Rico Schüller
18e4876245
d3dx9: Implement ID3DXBaseEffect::GetDesc() partially.
2011-05-06 15:18:19 +02:00
Rico Schüller
1ffad65698
d3dx9: Implement ID3DXBaseEffect::GetAnnotationByName().
2011-05-05 11:46:45 +02:00
Rico Schüller
7858a6f8e6
d3dx9: Implement ID3DXBaseEffect::GetAnnotation().
2011-05-05 11:46:41 +02:00
Rico Schüller
f0da0f8066
d3dx9: Implement ID3DXBaseEffect::GetParameterBySemantic().
2011-05-05 11:46:36 +02:00
Rico Schüller
35bff043f2
d3dx9: Implement ID3DXBaseEffect::GetVertexShader().
2011-05-04 20:42:33 +02:00
Rico Schüller
59abf094cf
d3dx9: Implement ID3DXBaseEffect::GetPixelShader().
2011-05-04 20:42:33 +02:00
Rico Schüller
f3f59d2cf8
d3dx9: Implement ID3DXBaseEffect::GetString().
2011-05-03 19:34:29 +02:00
Rico Schüller
46b3727df3
d3dx9: Implement ID3DXBaseEffect::GetValue().
2011-05-03 19:34:29 +02:00
Rico Schüller
a5fbbbe4a9
d3dx9: Fix flags for annotation structures.
2011-04-26 15:31:28 +02:00
Rico Schüller
03204e99b7
d3dx9: Improve get_parameter_by_name().
2011-04-26 15:31:27 +02:00
Rico Schüller
dbfc4dfc8d
d3dx9: Improve ID3DXBaseEffect::GetParameter().
2011-04-26 15:31:27 +02:00
Francois Gouget
b383111574
d3dx9_36: Make some is_valid_xxx() functions static.
2011-04-22 10:45:05 +02:00
Rico Schüller
f296fe68ff
d3dx9: Implement ID3DXBaseEffect::GetParameterElement().
2011-04-21 16:53:41 +02:00
Rico Schüller
1ae414bc64
d3dx9: Implement ID3DXBaseEffect::GetParameterDesc().
2011-04-21 16:53:40 +02:00
Rico Schüller
b483ab8200
d3dx9: Implement ID3DXBaseEffect::GetParameterByName().
2011-04-21 16:53:27 +02:00
Rico Schüller
0a23fc7b29
d3dx9: Implement ID3DXBaseEffect::GetPassByName().
2011-04-20 16:32:10 +02:00
Rico Schüller
2e2b3c775b
d3dx9: Implement ID3DXBaseEffect::GetPass().
2011-04-20 16:32:06 +02:00
Rico Schüller
f284dc77f2
d3dx9: Implement ID3DXBaseEffect::GetPassDesc().
2011-04-20 16:32:02 +02:00
Rico Schüller
8afc8dc0c7
d3dx9: Fix ID3DXEffect*::GetVectorArray() forward.
2011-04-20 16:31:58 +02:00
Rico Schüller
fa608e247a
d3dx9: Implement ID3DXBaseEffect::GetTechniqueByName().
2011-04-18 17:01:00 +02:00
Rico Schüller
6f824e171c
d3dx9: Implement ID3DXBaseEffect::GetTechnique().
2011-04-18 17:00:52 +02:00
Rico Schüller
e798d0016b
d3dx9: Implement ID3DXBaseEffect::GetParameter().
2011-04-18 17:00:44 +02:00
Rico Schüller
d64eb4699f
d3dx9: Implement ID3DXBaseEffect::GetTechniqueDesc().
2011-04-18 17:00:37 +02:00
Rico Schüller
4482ca41d0
d3dx9: Fix d3dx9_parse_effect_typedef for D3DXPC_STRUCT.
2011-04-18 16:59:40 +02:00
Rico Schüller
8ec21524ec
d3dx9: Parse effect pass and technique.
2011-04-13 14:13:53 +02:00
Rico Schüller
4dcb3ea325
d3dx9: Make some functions inline.
2011-04-13 14:13:53 +02:00
Rico Schüller
0f10e1b344
d3dx9: Parse value data.
2011-04-12 12:50:19 +02:00