Commit 2416578e authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

d3d9/tests: Add test for MaxVertexW device capability.

parent 91b43bca
......@@ -12643,6 +12643,8 @@ static void test_device_caps(void)
/* AMD gives 6, Nvidia returns 8. */
ok(caps.MaxUserClipPlanes <= 8,
"MaxUserClipPlanes field has unexpected value %u.\n", caps.MaxUserClipPlanes);
ok(caps.MaxVertexW == 0.0f || caps.MaxVertexW >= 1e10f,
"MaxVertexW field has unexpected value %.8e.\n", caps.MaxVertexW);
refcount = IDirect3DDevice9_Release(device);
ok(!refcount, "Device has %u references left.\n", refcount);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment