http://bugs.winehq.org/show_bug.cgi?id=27145
--- Comment #38 from GyB gyebro69@gmail.com 2011-09-20 09:40:51 CDT --- (In reply to comment #37)
From IRC:
<mogorva> Greetings to all! One of the wine devs asked if someone could determine what depth scale parameters a certain game uses. I'm referring to bug 27145 <mogorva> How can I find that out? I presume I need a +d3d debug log,but what exactly is needed from the log?
What I'm interested in is pretty much the output of the two TRACE lines in state_depthbias in state.c. You can either run a +d3d log and filter grep for state_depthbias, change the TRACE to an ERR, recompile and run without any special debug flags.
I found these:
F.E.A.R 1: trace:d3d:state_depthbias Depth format WINED3DFMT_D24_UNORM_S8_UINT, using depthbias scale of 1.67772150e+07.
Spellforce 2: trace:d3d:state_depthbias Depth format WINED3DFMT_D32_UNORM, using depthbias scale of 4.29496730e+09.