[Bug 34118] Need for Speed: Carbon demo wrong rendering without native d3dx9_36

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Sep 14 13:14:58 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=34118

--- Comment #5 from Rico <kgbricola at web.de> 2013-09-14 13:14:58 CDT ---
Created attachment 45956
  --> http://bugs.winehq.org/attachment.cgi?id=45956
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...

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list