projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
522ebe7
)
llvmpipe: Test abs.
author
Jose Fonseca
<jfonseca@vmware.com>
Fri, 1 Apr 2016 10:50:43 +0000
(11:50 +0100)
committer
Jose Fonseca
<jfonseca@vmware.com>
Sun, 3 Apr 2016 10:17:20 +0000
(11:17 +0100)
Trivial.
src/gallium/drivers/llvmpipe/lp_test_arit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_test_arit.c
b/src/gallium/drivers/llvmpipe/lp_test_arit.c
index 290c523f04910c8d122e9896f0c3205c53c6af80..a0f2db780bb52b5b16fc6dc3bf0bbca2f9ed90ad 100644
(file)
--- 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 },