https://bugs.freedesktop.org/show_bug.cgi?id=58718
--- Comment #18 from Sergey Anikin ---
(In reply to comment #17)
> I posted this issue to Microsoft and they have released a hotfix for Visual
> Studio 2010 SP1 to correct it:
> http://support.microsoft.com/kb/2836024
As soon as you try it (an
Signed-off-by: Vinson Lee
---
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
index 86617d4..1c886ea 100644
--- a/src/gallium/auxi
Problem: The IEEE float optimized version of UNCLAMPED_FLOAT_TO_UBYTE in
macros.h
computed incorrect results for inputs in the range 0x3f7f (=0.99609375) to
0x3f7f7f80 (=0.99803924560546875) inclusive. 0x3f7f7f80 is the IEEE float
value that results in 254.5 when multiplied by 255. With roun