http://bugs.winehq.org/show_bug.cgi?id=29146
--- Comment #4 from Henri Verbeet hverbeet@gmail.com 2011-11-23 03:59:49 CST --- (In reply to comment #3)
Sidenote... It works on Windows, and my card is within the game requirements. But I guess this is another example of wine raising the requirements, right?
Yeah, the issue is that we need some extra uniforms for doing fixups, and when the D3D shader already uses all of them we're just out of luck.
However what about printing some ERROR info into terminal like "Your hardware can't run this, make sure you are within the app requirements and note that Wine can raise those" or something similar. Generating invalid shader is not the best solution ever.
Yeah, we should be better about this. The reason we don't already do this is that a shader like this may still work if it doesn't actually use the constants near the end that we remove. We should probably print a message mentioning something along those lines when such a shader fails to compile or link.