Stefan Dösinger stefan@codeweavers.com writes:
From 1cb24469eb0f53f7e67dea2c7659ad070b86f21d Mon Sep 17 00:00:00 2001 From: Stefan Doesinger stefan@codeweavers.com Date: Fri, 28 Mar 2008 16:11:06 +0100 Subject: [PATCH] WineD3D: Support clipplanes with GLSL shaders
This patch removes the shader clipplane disabling code from the common/fixed function state table and enables GLSL shaders to write to the clipcoord output attribute. The ARB specific clipplane disabling is handled in the ARB shader backend.
It doesn't work for me:
../../../tools/runtest -q -P wine -M d3d9.dll -T ../../.. -p d3d9_test.exe.so visual.c && touch visual.ok visual.c:4738: Test failed: vs_3_0 returned color 0x00110000, expected 0x00203366 visual.c:4743: Test failed: vs_1_1 returned color 0x00110000, expected 0x00808080 visual.c:4748: Test failed: vs_2_0 returned color 0x00110000, expected 0x00000000 visual.c:4929: Test failed: ps_3_0 returned color 0x00193300, expected 0x0080ffe5 make[2]: *** [visual.ok] Error 4