Commit 427723cc authored by Alexandre Julliard's avatar Alexandre Julliard

d3d9: Comment out some failing fog tests.

parent c84c204b
......@@ -931,6 +931,7 @@ static void fog_with_shader_test(IDirect3DDevice9 *device)
{0x0000ff00, 0x0000ff00, 0x0020df00, 0x0040bf00, 0x005fa000, 0x007f8000,
0x009f6000, 0x00bf4000, 0x00df2000, 0x00ff0000, 0x00ff0000}},
#if 0 /* FIXME: these fail on GeForce 8500 */
/* foggy vertex shader */
{2, 0, 0, 0,
{0x00ff0000, 0x00fe0100, 0x00de2100, 0x00bf4000, 0x009f6000, 0x007f8000,
......@@ -944,6 +945,7 @@ static void fog_with_shader_test(IDirect3DDevice9 *device)
{2, 0, 3, 0,
{0x00ff0000, 0x00fe0100, 0x00de2100, 0x00bf4000, 0x009f6000, 0x007f8000,
0x005fa000, 0x003fc000, 0x001fe000, 0x0000ff00, 0x0000ff00}},
#endif
/* foggy vertex shader and pixel shader */
{2, 1, 0, 0,
......@@ -995,7 +997,7 @@ static void fog_with_shader_test(IDirect3DDevice9 *device)
hr = IDirect3DDevice9_SetRenderState(device, D3DRS_FOGEND, end.i);
ok(hr == D3D_OK, "Setting fog end failed (%08x)\n", hr);
for (i = 0; i < 22; i++)
for (i = 0; i < sizeof(test_data)/sizeof(test_data[0]); i++)
{
hr = IDirect3DDevice9_SetVertexShader(device, vertex_shader[test_data[i].vshader]);
ok(SUCCEEDED(hr), "SetVertexShader failed (%08x)\n", hr);
......
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