[Bug 6028] New: Rome: Total War too many shaders error (appears to be hardcoded to max of 64)

Wine Bugs wine-bugs at winehq.org
Tue Aug 22 03:47:22 CDT 2006


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

           Summary: Rome: Total War too many shaders error (appears to be
                    hardcoded to max of 64)
           Product: Wine
           Version: CVS
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-directx-d3d
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: djones9960 at gmail.com


Using wine 0.9.19 (and wine CVS from 19/08/2006), Rome: Total War installs fine
and you can get all the way to the menu screen.  Unfortunately, when it comes to
the campaign map the thing crashes out with a 'd3d8: too many shaders' error.

Looking in the code, I found in $WINE_SOURCE/dlls/d3d8/d3d8_private.h the
following setting:

#define MAX_SHADERS 64

This is just to say that I changed that to:

#define MAX_SHADERS 256

...and I got to the campaign map.  I don't know what knock-on effect this will
have (or indeed why there is a limit) so I'm submitting this as an FYI bug.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list