diff options
author | Brian Paul <brianp@vmware.com> | 2015-02-24 09:39:51 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2015-02-24 14:44:19 -0700 |
commit | a2b366b92cecc5045293528aa0bb8b1f0678bbcc (patch) | |
tree | 6f8e8551b961404b4e8d101daf485c8781910734 /src/mesa/main/imports.h | |
parent | bbb2d8403256dd16fb55b4059f396c42cdc5008c (diff) | |
download | external_mesa3d-a2b366b92cecc5045293528aa0bb8b1f0678bbcc.zip external_mesa3d-a2b366b92cecc5045293528aa0bb8b1f0678bbcc.tar.gz external_mesa3d-a2b366b92cecc5045293528aa0bb8b1f0678bbcc.tar.bz2 |
mesa: remove INV_SQRTF() macro
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/mesa/main/imports.h')
-rw-r--r-- | src/mesa/main/imports.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h index da373b0..df6a3fe 100644 --- a/src/mesa/main/imports.h +++ b/src/mesa/main/imports.h @@ -119,15 +119,6 @@ static inline int isblank(int ch) { return ch == ' ' || ch == '\t'; } #endif -/** single-precision inverse square root */ -static inline float -INV_SQRTF(float x) -{ - /* XXX we could try Quake's fast inverse square root function here */ - return 1.0F / sqrtf(x); -} - - /*** *** LOG2: Log base 2 of float ***/ |