http://bugs.winehq.org/show_bug.cgi?id=21627
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-d3d Version|unspecified |1.1.38
--- Comment #2 from Vitaliy Margolen vitaliy@kievinfo.com 2010-02-07 20:39:02 --- commit bef792f5ff2cd87db98b58acb182123ef76be6e6 Author: Henri Verbeet hverbeet@codeweavers.com Date: Mon Feb 1 13:52:55 2010 +0100
wined3d: Handle zero-length vectors for WINED3DSIH_NRM.
Unfortunately there's no reliable way to generate infinity in GLSL, but a sufficiently large value will probably do. The important part of the patch is that we don't generate NaN, because that will keep propagating through the entire shader.