Commit Graph

79 Commits

Author SHA1 Message Date
Józef Kucia 61de927355 d3dx9/tests: Fix compilation when the INFINITY macro is not available.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-05 14:49:58 -05:00
Paul Gofman 571119a585 d3dx9/tests: Add test for IsParameterUsed 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-31 11:31:29 +09:00
Paul Gofman 4786f53ef8 d3dx9: Add d3ds_dotswiz opcode to preshader.
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:10:04 +09:00
Paul Gofman be4c5f5022 d3dx9/tests: Extend effect preshader test.
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-20 12:52:59 +09:00
Paul Gofman a5fcc4d2a2 d3dx9: Add test for 0 * INF preshader operation.
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-04 01:03:30 +09:00
Paul Gofman 2925d6e6ec d3dx9: Add 'exp' preshader opcode.
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-04 01:03:30 +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
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 58d80d90a5 d3dx9: Add basic opcodes to preshader.
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:23 +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 ad7ec2ec14 d3dx9: Add test for preshader 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-23 11:28:54 +09:00
Francois Gouget 8fda75fe4a d3dx9/tests: Add a trailing '\n' to an ok() call.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-18 22:20:01 +09:00
Henri Verbeet d708f309c8 d3dx9/tests: Get rid of a redundant NULL check in test_effect_states().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-13 15:41:45 +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
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
Paul Gofman 6a5a4f9b12 d3dx9: Add test for basic effect state management.
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:17 +09:00
Michael Stefaniuc 020b86b0be d3dx9/tests: Avoid a TRUE:FALSE conditional expression.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-01 12:05:57 +09:00
Stefan Dösinger ed3b1037f9 d3dx9_36/tests: Initialize some test values. 2014-04-01 20:58:01 +02:00
Matteo Bruni 62288d02be d3dx9: Call D3DCompile() for ASCII effects. 2014-02-25 14:17:45 -06:00
Stefan Dösinger f85f733c79 d3dx9_36/tests: Use a window with a non-zero size. 2014-01-16 21:04:19 +01:00
André Hentschel 87c7c961f2 Assorted spelling fixes. 2014-01-06 17:33:24 +01:00
Henri Verbeet 3e5dd54971 d3dx9/tests: Use explicit A calls. 2013-10-31 09:58:44 +01:00
Henri Verbeet 76e35a2939 d3dx9: Avoid LPCVOID. 2013-09-03 16:58:18 +02:00
Henri Verbeet 75511e351c d3dx9: Avoid LPCSTR. 2013-09-02 18:02:48 +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
Francois Gouget 7b2d297d3e d3dx9_36/tests: Use software vertex processing so the tests can run on Intel GM950 graphics cards. 2012-12-14 17:37:43 +01:00
Henri Verbeet c109249445 d3dx9: Avoid LPD3DXEFFECTSTATEMANAGER. 2012-11-30 11:42:37 +01:00
Henri Verbeet 4704e78337 d3dx9: Avoid LPDIRECT3DPIXELSHADER9. 2012-10-23 12:11:30 +02:00
Rico Schüller 98d196a808 d3dx9/tests: Add variable name test. 2012-08-20 14:58:45 +02:00
Rico Schüller c178b61bb9 d3dx9/tests: Check all elements in the effect parameter value test. 2012-08-13 11:51:18 +02:00
Rico Schüller 3bd55d0b62 d3dx9/tests: Reduce effect parameter value test count. 2012-08-13 11:51:11 +02:00
Rico Schüller e0d5c35054 d3dx9/tests: Fix array increment in SetMatrix*PointerArray() test. 2012-07-10 11:16:44 -05:00
Rico Schüller 617a2ccee6 d3dx9/tests: Add effect parameter value GetMatrixTransposePointerArray() test. 2012-07-10 11:16:39 -05:00
Rico Schüller a7f1d93f01 d3dx9/tests: Add effect parameter value GetMatrixPointerArray() test. 2012-07-10 11:16:33 -05:00
Rico Schüller 18126eeb4f d3dx9/tests: Add effect parameter value SetMatrixTransposePointerArray() test. 2012-07-03 14:56:18 +02:00
Rico Schüller 1ae494a9bb d3dx9/tests: Add effect parameter value SetMatrixPointerArray() test. 2012-07-03 14:56:13 +02:00
Rico Schüller f658aabfd5 d3dx9: Crop the input in ID3DXBaseEffect::SetBool(). 2012-05-30 17:17:57 +02:00
Rico Schüller b09d195bf3 d3dx9/tests: Add tests for ID3DXBaseEffect::G/SetValue(). 2012-04-18 17:40:13 +02:00
Rico Schüller 49ebbd0230 d3dx9/tests: Add invalid parameter test for ID3DXEffect. 2012-01-27 18:05:50 +01:00
Rico Schüller cf512fdf13 d3dx9/tests: Add effect parameter value SetMatrixTransposeArray() test. 2012-01-27 18:05:50 +01:00
Rico Schüller 0ae7c573b1 d3dx9/tests: Add effect parameter value SetMatrixTranspose() test. 2012-01-27 18:05:50 +01:00
Rico Schüller 3efd2f9a1b d3dx9/tests: Add effect parameter value SetMatrixArray() test. 2012-01-26 17:45:37 +01:00
Rico Schüller 52e1409111 d3dx9/tests: Add effect parameter value SetMatrix() test. 2012-01-26 17:45:34 +01:00
Rico Schüller d0fbe7f5a5 d3dx9/tests: Add effect parameter value SetVectorArray() test. 2012-01-26 17:45:29 +01:00
Rico Schüller 9c63b11372 d3dx9/tests: Add effect parameter value SetVector() test. 2012-01-26 17:45:25 +01:00
Rico Schüller 483ae58ef2 d3dx9/tests: Add effect parameter value SetFloatArray() test. 2012-01-24 16:57:32 +01:00