http://bugs.winehq.org/show_bug.cgi?id=34416
Bug #: 34416 Summary: The Testament of Sherlock Holmes dark player model, textures disappearing and appear Product: Wine Version: 1.7.1 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx9 AssignedTo: wine-bugs@winehq.org ReportedBy: andrey.goosev@gmail.com CC: wine-bugs@winehq.org Classification: Unclassified
Created attachment 45811 --> http://bugs.winehq.org/attachment.cgi?id=45811 disappeared carpet
Seems these two issues are related to d3dx9_36, when installed native, all is fine. Textures disappearing and appear depending from angle of view.
http://bugs.winehq.org/show_bug.cgi?id=34416
--- Comment #1 from Andrey Gusev andrey.goosev@gmail.com 2013-09-01 15:45:54 CDT --- Created attachment 45812 --> http://bugs.winehq.org/attachment.cgi?id=45812 disappeared pictures
http://bugs.winehq.org/show_bug.cgi?id=34416
--- Comment #2 from Andrey Gusev andrey.goosev@gmail.com 2013-09-01 15:46:27 CDT --- Created attachment 45813 --> http://bugs.winehq.org/attachment.cgi?id=45813 dark model
http://bugs.winehq.org/show_bug.cgi?id=34416
--- Comment #3 from Andrey Gusev andrey.goosev@gmail.com 2013-09-01 15:47:03 CDT --- Created attachment 45814 --> http://bugs.winehq.org/attachment.cgi?id=45814 dark model (front)
http://bugs.winehq.org/show_bug.cgi?id=34416
--- Comment #4 from Andrey Gusev andrey.goosev@gmail.com 2013-09-01 15:47:38 CDT --- Created attachment 45815 --> http://bugs.winehq.org/attachment.cgi?id=45815 normal model (native dll)
http://bugs.winehq.org/show_bug.cgi?id=34416
--- Comment #5 from Andrey Gusev andrey.goosev@gmail.com 2013-09-01 15:48:11 CDT --- Created attachment 45816 --> http://bugs.winehq.org/attachment.cgi?id=45816 normal model (front) (native dll)
http://bugs.winehq.org/show_bug.cgi?id=34416
--- Comment #6 from Rico kgbricola@web.de 2013-09-01 15:57:23 CDT --- Please attach a +d3dx log with wines build in d3dx9_36.dll.
http://bugs.winehq.org/show_bug.cgi?id=34416
--- Comment #7 from Rico kgbricola@web.de 2013-09-14 13:18:17 CDT --- Created attachment 45957 --> http://bugs.winehq.org/attachment.cgi?id=45957 clamp regcount for D3DXPC_MATRIX_COLUMNS.
After some discussion and debugging, the result is the following:
The issue is that currently the regcount in the ID3DXConstantTable is not clamped for D3DXPC_MATRIX_COLUMNS. Thus some values for the next shader variable may be overwritten in some cases.
The patch as is works, but it needs a nice test case...
http://bugs.winehq.org/show_bug.cgi?id=34416
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=34416
Rico kgbricola@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #8 from Rico kgbricola@web.de 2013-09-20 01:30:10 CDT --- Fixed by commit ae95176c0d41cc1161cdfbf36325829ed33fc439 .
http://bugs.winehq.org/show_bug.cgi?id=34416
Rico kgbricola@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |ae95176c0d41cc1161cdfbf3632 | |5829ed33fc439
http://bugs.winehq.org/show_bug.cgi?id=34416
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org 2013-09-27 13:41:52 CDT --- Closing bugs fixed in 1.7.3.