From: Jose Fonseca Date: Fri, 1 Apr 2016 10:50:43 +0000 (+0100) Subject: llvmpipe: Test abs. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5fa31a4aba5bce5b42ba4188119eafa0f6c3a7f1;p=mesa.git llvmpipe: Test abs. Trivial. --- diff --git a/src/gallium/drivers/llvmpipe/lp_test_arit.c b/src/gallium/drivers/llvmpipe/lp_test_arit.c index 290c523f049..a0f2db780bb 100644 --- a/src/gallium/drivers/llvmpipe/lp_test_arit.c +++ b/src/gallium/drivers/llvmpipe/lp_test_arit.c @@ -272,6 +272,7 @@ const float fract_values[] = { static const struct unary_test_t unary_tests[] = { + {"abs", &lp_build_abs, &fabsf, exp2_values, Elements(exp2_values), 20.0 }, {"neg", &lp_build_negate, &negf, exp2_values, Elements(exp2_values), 20.0 }, {"exp2", &lp_build_exp2, &exp2f, exp2_values, Elements(exp2_values), 20.0 }, {"log2", &lp_build_log2_safe, &log2f, log2_values, Elements(log2_values), 20.0 },