Mesa (master): llvmpipe: Test abs.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Sun Apr 3 10:17:31 UTC 2016
Module: Mesa
Branch: master
Commit: 5fa31a4aba5bce5b42ba4188119eafa0f6c3a7f1
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5fa31a4aba5bce5b42ba4188119eafa0f6c3a7f1
Author: Jose Fonseca <jfonseca at vmware.com>
Date: Fri Apr 1 11:50:43 2016 +0100
llvmpipe: Test abs.
Trivial.
---
src/gallium/drivers/llvmpipe/lp_test_arit.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/llvmpipe/lp_test_arit.c b/src/gallium/drivers/llvmpipe/lp_test_arit.c
index 290c523..a0f2db7 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 },
More information about the mesa-commit
mailing list