Mesa (master): mesa: add more work-arounds for acoshf(), asinhf(), atahf()

Brian Paul brianp at kemper.freedesktop.org
Tue Nov 16 01:51:11 UTC 2010


Module: Mesa
Branch: master
Commit: c1928c7f1065876345d00477eac5558f4cf85158
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c1928c7f1065876345d00477eac5558f4cf85158

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Nov 15 18:50:58 2010 -0700

mesa: add more work-arounds for acoshf(), asinhf(), atahf()

---

 src/mesa/main/imports.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index 30fc152..5d4ef9b 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -141,6 +141,9 @@ typedef union { GLfloat f; GLint i; } fi_type;
 #define sqrtf(f) ((float) sqrt(f))
 #define tanf(f) ((float) tan(f))
 #define tanhf(f) ((float) tanh(f))
+#define acoshf(f) ((float) acosh(f))
+#define asinhf(f) ((float) asinh(f))
+#define atanhf(f) ((float) atanh(f))
 #endif
 
 #if defined(_MSC_VER)




More information about the mesa-commit mailing list