Commit Graph

20 Commits

Author SHA1 Message Date
Matteo Bruni 095a9a6893 wined3d: Refuse to create a shader unsupported by the backend. 2011-10-26 12:41:35 +02:00
Matteo Bruni f87483c307 d3d9/tests: Test creating shaders with wrong type or version. 2011-09-26 17:57:55 +02:00
Henri Verbeet e7d14d02d0 d3d9: Remove trailing spaces. 2009-08-28 11:54:50 +02:00
Henri Verbeet 664b58dc6f d3d: Make sure the device is properly released when exiting the tests. 2008-12-29 12:16:35 +01:00
Rico Schüller bf5912208f d3d9/tests: Don't create a Null-shader in d3d9, it will crash. 2008-12-22 14:14:52 +01:00
Henri Verbeet 46572f682c wined3d: Refuse to create shaders with a NULL function. 2008-12-16 12:51:49 +01:00
Huw Davies 12b9d37120 d3d9/tests: Skip tests if we can't create the D3D9 object. 2008-12-04 12:51:20 +01:00
Dmitry Timoshkov 1c8994247e d3d9: Avoid a not needed address-of operator. 2008-06-06 10:29:18 +02:00
Stefan Dösinger 9ae22f1a76 d3d9: Do not fail if d3d9 is not available. 2007-08-06 12:05:31 +02:00
Stefan Dösinger dd93e1fb7f wined3d: Floating point shader constant setting.
Test how shader constant limits are checked in Set*ShaderConstantF.
The vertex shader tests it based on the limits reported in the caps,
the pixel shader tests tries to find the limit manually because I
could not find a cap structure member specifying the pixel shader
constant limit.

Set*ShaderConstantF returns an error as soon as start or start + count
are bigger than the constant limit.
2007-02-21 10:56:01 +01:00
Francois Gouget 354b9e7aae d3d9/tests: Warn that tests were skipped if we could not load d3d9.dll.
But report a failed test if a mandatory function is missing from it.
Also warn if the hardware capabilities force us to skip some tests.
2007-01-12 11:25:24 +01:00
Louis Lenders c1cc17d827 d3d9: Fix failing tests on windows, when no 3d hardware acceleration is available. 2007-01-02 13:24:08 +01:00
Ivan Gyurdiev 365852c083 d3d9/tests: Printf format fixes for d3d9 tests. 2006-10-09 20:26:09 +02:00
Ivan Gyurdiev 84d6bd0469 d3d9: State management test framework for d3d9. 2006-07-21 10:55:23 +02:00
H. Verbeet 88528a7839 d3d9: Add a test for setting / getting vertex shader constants. 2006-06-07 11:47:38 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
H. Verbeet 75ac954cf5 d3d9: Use an invisible window for tests. 2006-02-10 14:52:10 +01:00
H. Verbeet 2bb87a90b2 d3d9: Add traces for when shader support is missing in the shader test. 2005-12-21 20:45:07 +01:00
Paul Vriens 9a1bc10f5d d3d9: Don't treat missing d3d9.dll as a failure. 2005-12-14 10:50:52 +01:00
H. Verbeet 510c94d2d5 d3d9: Add a test for Get/SetVertexShader and Get/SetPixelShader refcounts. 2005-12-13 12:00:25 +01:00