http://bugs.winehq.org/show_bug.cgi?id=34118
--- Comment #5 from Rico kgbricola@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...