• Roland Scheidegger's avatar
    llvmpipe: fix lp_test_arit denorm handling · 8148a06b
    Roland Scheidegger authored
    llvmpipe disables denorms on purpose (on x86/sse only), because denorms are
    generally neither required nor desired for graphic apis (and in case of d3d10,
    they are forbidden).
    However, this caused some arithmetic tests using denorms to fail on some
    systems, because the reference did not generate the same results anymore.
    (It did not fail on all systems - behavior of these math functions is sort
    of undefined when called with non-standard floating point mode, hence the
    result differing depending on implementation and in particular the sse
    capabilities.)
    So, for the reference, simply flush all (input/output) denorms manually
    to zero in this case.
    
    This fixes https://bugs.freedesktop.org/show_bug.cgi?id=67672.
    Reviewed-by: Jose Fonseca's avatarJose Fonseca <jfonseca@vmware.com>
    8148a06b
Name
Last commit
Last update
bin Loading commit data...
docs Loading commit data...
doxygen Loading commit data...
include Loading commit data...
m4 Loading commit data...
scons Loading commit data...
src Loading commit data...
.dir-locals.el Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
Android.common.mk Loading commit data...
Android.mk Loading commit data...
CleanSpec.mk Loading commit data...
Makefile.am Loading commit data...
SConstruct Loading commit data...
VERSION Loading commit data...
autogen.sh Loading commit data...
common.py Loading commit data...
configure.ac Loading commit data...
install-gallium-links.mk Loading commit data...
install-lib-links.mk Loading commit data...