wined3d: Properly round negative values in shader_glsl_mov

Chris Robinson chris.kcat at gmail.com
Sun Feb 11 01:04:55 CST 2007


This fixes bug 7203, which was caused by a patch to add rounding to the 
aforementioned function but improperly rounded negative values. This properly 
handles rounding for both positive and negative values.

I'm not sure if this is the optimal method of rounding in GLSL, but its the 
only thing I can think of that works.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wined3d_glsl_mov.diff
Type: text/x-diff
Size: 990 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070210/3530a727/wined3d_glsl_mov.bin


More information about the wine-patches mailing list