diff options
author | Brian Paul <[email protected]> | 2015-02-24 09:39:51 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-02-24 14:44:19 -0700 |
commit | a2b366b92cecc5045293528aa0bb8b1f0678bbcc (patch) | |
tree | 6f8e8551b961404b4e8d101daf485c8781910734 /src/mesa/main/imports.h | |
parent | bbb2d8403256dd16fb55b4059f396c42cdc5008c (diff) |
mesa: remove INV_SQRTF() macro
Reviewed-by: Roland Scheidegger <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
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 da373b04430..df6a3fe994a 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 ***/ |