llvmpipe: Avoid adding floating point zero to flat inputs.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Fri, 18 May 2012 00:03:13 +0000 (01:03 +0100)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Fri, 18 May 2012 00:03:13 +0000 (01:03 +0100)
commit3f7a5ffac7e78bca47fa58849f5666fb334b3ab1
treedf7663c4867705eeeaffb1ee3a813e16b2a9ac54
parent00eb74b275e21d567a0ab8a6731181e005208634
llvmpipe: Avoid adding floating point zero to flat inputs.

Which could clobber integer inputs, if the addition is not optimized away
(e.g., if optimizations are disabled for debugging purposes).
src/gallium/drivers/llvmpipe/lp_bld_interp.c