diff options
author | Rob Clark <[email protected]> | 2015-10-10 13:26:03 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2015-10-16 19:33:37 -0400 |
commit | 183db3a64557d5d231ef58ab5666286f323ff333 (patch) | |
tree | f3216746bf09ad9d42e381b8c623f902f7d41740 /src/mesa/main/imports.h | |
parent | 60690cb3b3082b7397c48769ec28b5570f6b7d7e (diff) |
glsl: move half<->float convertion to util
Needed in NIR too, so move out of mesa/main/imports.c
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/mesa/main/imports.h')
-rw-r--r-- | src/mesa/main/imports.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h index 90247587be3..042147fd8bb 100644 --- a/src/mesa/main/imports.h +++ b/src/mesa/main/imports.h @@ -396,13 +396,6 @@ _mesa_flsll(uint64_t n) #endif } - -extern GLhalfARB -_mesa_float_to_half(float f); - -extern float -_mesa_half_to_float(GLhalfARB h); - static inline bool _mesa_half_is_negative(GLhalfARB h) { |