Bug 7991
Rendering is garbled when a program need to use the maximun number of shader constants of a graphic card
Note, original name of this bug was set as Test Drive: Unlimited messed up graphics but is undescriptive and do not show the origin of the issue.
See also
The reason for this page
This Bug really is a limitation that Wine has, Wine needs a small amount of vec4 constants to store a few uniforms for bool and ivec4 constants. So this bug is only triggered when an application tries to use the maximun number of constant registers defined in the Shader Model specification on a card of the same revision. Example, running a Shader Model V3.0 program under an Shader Model 3.0 card.
Note that that only happens when the program need to use all the shader constants, so most programs or applications will never show this behaviour.
A fix for this Bug most likely never surface, but already has been discussed the possibility of showing a warning to the affected user.
Workaround
If you are suffering this bug, actually there's no other workaround possible than upgrade your video card to one that support an upper Shader Model version and has a greater number of shader constants.
