http://bugs.winehq.org/show_bug.cgi?id=30498
Bug #: 30498 Summary: Shadows broken on many games because of wrong depth formats Product: Wine Version: 1.5.2 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: tizbac2@gmail.com Classification: Unclassified
D3DCMP_EQUAL and D3DCMP_NOTEQUAL are broken when used with incompatible depth format, and that breaks shadows on all CryEngine games, on MAFIA 2, and probably many other games
On the logs the line "fixme:d3d:state_zfunc D3DCMP_NOTEQUAL and D3DCMP_EQUAL do not work correctly yet." will appear when this bug is causing problems