projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a1d495
)
gallivm: Fix lp_build_exp/lp_build_log.
author
José Fonseca
<jfonseca@vmware.com>
Tue, 19 Jul 2011 22:58:09 +0000
(15:58 -0700)
committer
José Fonseca
<jfonseca@vmware.com>
Sat, 23 Jul 2011 01:52:09 +0000
(18:52 -0700)
Never used so far -- we only used the base 2 variants -- which is why
it went unnoticed so far.
src/gallium/auxiliary/gallivm/lp_bld_arit.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_arit.c
b/src/gallium/auxiliary/gallivm/lp_bld_arit.c
index 02b3bde789398d9eee014211c0075ff36f433931..06e5debe4a3a512ffebdd4fd0099bb2ae58dc3c7 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_arit.c
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_arit.c
@@
-2151,7
+2151,7
@@
lp_build_exp(struct lp_build_context *bld,
assert(lp_check_value(bld->type, x));
- return lp_build_
mul(bld, log2e, lp_build_exp2(bld
, x));
+ return lp_build_
exp2(bld, lp_build_mul(bld, log2e
, x));
}
@@
-2168,7
+2168,7
@@
lp_build_log(struct lp_build_context *bld,
assert(lp_check_value(bld->type, x));
- return lp_build_mul(bld, log2, lp_build_
exp
2(bld, x));
+ return lp_build_mul(bld, log2, lp_build_
log
2(bld, x));
}