wined3d: Check the writemask before activating the oC0 optimization.
commit068915a4f128985b0092bd0874f34cf9c88260b1
authorStefan Dösinger <stefan@codeweavers.com>
Tue, 20 Jul 2010 19:29:54 +0000 (20 21:29 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 22 Jul 2010 08:22:46 +0000 (22 10:22 +0200)
treea20ec976264fe0feb9faf2bd38626efb598bee66
parent6b794cbd64ba4a33cde3f349c0af2a3de88c2427
wined3d: Check the writemask before activating the oC0 optimization.

The comment above the code correctly mentions that this optimization
does not work if oC0 is written partially, but the code doesn't
actually check for this condition.
dlls/wined3d/shader.c