summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2016-04-01 11:50:43 +0100
committerJose Fonseca <[email protected]>2016-04-03 11:17:20 +0100
commit5fa31a4aba5bce5b42ba4188119eafa0f6c3a7f1 (patch)
tree3249bddde5015c3b0fd1196134f469b320129a32 /src/gallium/drivers/llvmpipe
parent522ebe701dd1f05c5058d053bd638df75a7adae0 (diff)
llvmpipe: Test abs.
Trivial.
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_test_arit.c1
1 files changed, 1 insertions, 0 deletions
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 },