On 17 March 2015 at 10:03, Chris Giles drathian@gmail.com wrote:
Originally idea by Robert Showalter, adapted to later wine versions by Luke Horwell, altered by me. Windows emulates 8192 vertex shaders, sims 2 requires at least half that to launch properly (although it is only supposed to ask for 1024), the blue texture glitches exist with this, can be futher debugged. Bug 8051, discussion previewed in https://appdb.winehq.org/objectManager.php?sClass=version&iId=2633
As it is, the patch is just wrong. But if it actually works, and you can write the corresponding tests to show that it's correct, just not applying the D3D9_MAX_VERTEX_SHADER_CONSTANTF clamp on SWVP devices would probably be fine.