Francois Gouget
4c8e218252
Assorted spelling fixes.
2008-02-15 12:09:24 +01:00
Stefan Dösinger
f700cbe74b
wined3d: Add an alpha blending test.
2007-12-07 16:26:43 +01:00
Stefan Dösinger
3cc253c557
wined3d: Enabling too many lights is silently ignored.
...
I'm resending this patch because my reply to Henri's concern came too late.
Henri noted that I am enabling lights that do not exist. Existing tests show
that if no light is assigned to the index, LightEnable creates a light with a
set of default parameters, so the tests should be fine.
From 9ee4c61805b50886f79e87d744b52f27b7b00b4e Mon Sep 17 00:00:00 2001
From: Stefan Doesinger <stefan@codeweavers.com>
Date: Thu, 29 Nov 2007 13:22:47 +0100
Subject: [PATCH] WineD3D: Enabling too many lights is silently ignored
This patch adds tests for all d3d versions that show that Windows
pretends that enabling more lights than supported succeeds. D3D_OK is
returned, and the light is reported as enabled.
What is not tested in this patch is the rendering output of this
situation, thus the FIXME is still written.
2007-12-03 13:44:07 +01:00
Stefan Dösinger
f0c479d6f7
d3d8: Destroy the window after the visual test.
2007-11-20 13:10:51 +01:00
Stefan Dösinger
d0fdb1ea7e
d3d: Add a test for double surface locking.
2007-08-31 11:25:19 +02:00
Paul Vriens
c20a285510
d3d8/tests: Make tests run again on win95.
2007-08-14 12:45:57 +02:00
Francois Gouget
a9abf580b5
d3d8/tests: DXGetErrorString8() prints 'Unknown' for too many hresults which makes diagnosis impossible. So print the raw code instead.
2007-08-10 11:55:58 +02:00
Stefan Dösinger
2d15cb8b27
d3d: Add a simple offscreen rendering test.
2007-08-08 15:32:00 +02:00
Stefan Dösinger
573db35bf6
d3d8: Skip tests if d3d is not supported.
2007-08-06 12:05:17 +02:00
Stefan Dösinger
e70adcd8b6
d3d8: Only test pixel shaders if they are supported.
2007-07-30 23:37:58 +02:00
Stefan Dösinger
19c574b7e5
d3d8: Use a less demanding format for the depth stencil test.
2007-07-30 23:37:58 +02:00
Stefan Dösinger
9a06fd000b
d3d8: Only test volume textures if they are supported.
2007-07-30 23:37:58 +02:00
Stefan Dösinger
6ff16b9f2e
d3d8: Only test cube textures if they are supported.
2007-07-30 23:37:58 +02:00
Stefan Dösinger
630d602631
d3d8: Only test pixel shaders for refcounting if they are supported.
2007-07-30 12:50:12 +02:00
Stefan Dösinger
5016f48daa
d3d8: Skip volume test if volume textures are not supported.
2007-07-30 12:50:06 +02:00
Stefan Dösinger
a1f83aae8e
wined3d: rsq and rcp use the .w component if no swizzle is given.
2007-07-03 12:29:34 +02:00
Stefan Dösinger
078523f73e
wined3d: Present does not clear the depth stencil.
2007-06-14 13:22:19 +02:00
Francois Gouget
f64f30cdba
d3d8/tests: Fix the Visual C++ double to float conversion warnings.
2007-05-29 13:46:56 +02:00
Francois Gouget
d476313a49
direct3d: Remove misspelled constants as they exist correctly spelled.
2007-05-21 12:38:54 +02:00
Stefan Dösinger
5c48d504fc
wined3d: Destroying the resource frees all private data.
...
Also adds a test for ddraw, d3d8 and d3d9.
2007-05-11 11:22:31 +02:00
H. Verbeet
2c7328891b
d3d8: Add a surface locking test.
2007-05-04 13:41:30 +02:00
Felix Nawothnig
c343fb1cdf
wined3d: Make CreateCubeTexture fail when not supported.
2007-04-02 11:28:39 +02:00
Stefan Dösinger
4b445124d3
direct3d: Add a fixed function fog test.
2007-03-15 12:14:50 +01:00
Paul Vriens
c912f791ee
d3d8/tests: Use skip as is done in the other tests.
2007-03-12 12:21:49 +01:00
H. Verbeet
6bed8536be
d3d8: Add tests for GetVertexShaderDeclaration, GetVertexShaderFunction and GetPixelShaderFunction.
2007-03-08 11:58:57 +01:00
Stefan Dösinger
4a16dbbbec
wined3d: More Clear fixes.
...
Test for rectangles with x1 > x2 and y1 > y2. Empire earth passes such rects.
2007-02-27 12:20:10 +01:00
Stefan Dösinger
bbcf98209c
wined3d: No bounds checking is done on sampler / texture numbers.
2007-02-20 11:49:42 +01:00
Stefan Dösinger
266fc77cf0
wined3d: Lighting is calculated for vertices without normals.
...
It still should be disabled for transformed vertices though.
2007-02-19 13:08:35 +01:00
Stefan Dösinger
03bc11fa16
wined3d: Visual test framework.
2007-02-19 13:07:44 +01:00
Stefan Dösinger
00aa8ab08c
d3d8: Deleting bound shaders unbinds them.
2007-02-13 12:07:46 +01:00
Stefan Dösinger
67b1f4a7e9
wined3d: BeginScene and EndScene tests and fixes.
2007-02-12 12:08:34 +01:00
Francois Gouget
a76e6b11b0
d3d8/tests: Warn that tests were skipped if we could not load d3d8.dll.
...
But report a failed test if a mandatory function is missing from it.
2007-01-12 11:25:27 +01:00
Louis Lenders
e236d91ab8
d3d8: Fix failing tests on windows, when no 3d hardware acceleration is available.
2007-01-02 13:24:14 +01:00
Alexandre Julliard
005efa740b
d3d8/tests: Avoid sizeof in traces.
2006-12-29 12:49:43 +01:00
Chris Robinson
b66a52856c
d3d8: Don't report Shader Model 2.0 or higher.
2006-12-29 12:49:41 +01:00
Chris Robinson
b7b9d4e3c7
d3d: GetStreamSource on a stream with NULL data isn't an error.
2006-12-26 12:52:54 +01:00
Chris Robinson
ed21935479
d3d: Fix adapter mode enumeration and filtering.
2006-12-20 17:58:34 +01:00
Markus Amsler
0531858146
d3d8: Handle surface container in d3d8.
2006-12-18 12:07:46 +01:00
Stefan Dösinger
46028b0832
wined3d: D3DRS_ZVISIBLE is not supposed to return an error.
2006-12-15 12:18:36 +01:00
Markus Amsler
5dbd834ca0
d3d8: Release non implicit surfaces only if refcount is 0, with test.
2006-12-14 12:57:27 +01:00
Markus Amsler
4745618487
d3d8: Fix implicit surface refcounting.
2006-12-06 12:41:27 +01:00
Markus Amsler
0d725490d6
d3d8: Handle surface refcount forwarding in d3d8.
2006-12-06 12:40:12 +01:00
Markus Amsler
07fad29c7d
d3d8: Show that the implicit surfaces are not freed if refcount reaches 0.
2006-11-16 12:48:45 +01:00
Markus Amsler
ee7bf7954d
d3d8: Test AddRef with refcount==0.
2006-11-15 11:25:31 +01:00
Markus Amsler
577d5d2580
d3d8: Test refcount forwarding.
2006-11-15 11:25:18 +01:00
Markus Amsler
886c196e05
d3d8: Back buffer is identical to the render target, test it only once.
2006-11-15 11:25:07 +01:00
Markus Amsler
100038dfb1
d3d8: Add GetContainer tests for implicit surfaces.
2006-11-10 11:36:48 +01:00
Markus Amsler
b3225ea420
d3d8: Add refcount tests for implicit surfaces.
2006-11-09 17:45:56 +01:00
Markus Amsler
7cbf2a38cb
d3d8: Backport volume tests.
2006-11-09 12:45:16 +01:00
Markus Amsler
019bf2eabd
d3d8: Backport texture tests.
2006-11-09 12:44:54 +01:00