diff options
author | Rob Clark <robclark@freedesktop.org> | 2015-10-10 13:26:03 -0400 |
---|---|---|
committer | Rob Clark <robclark@freedesktop.org> | 2015-10-16 19:33:37 -0400 |
commit | 183db3a64557d5d231ef58ab5666286f323ff333 (patch) | |
tree | f3216746bf09ad9d42e381b8c623f902f7d41740 /src/mesa/main/texcompress_bptc.c | |
parent | 60690cb3b3082b7397c48769ec28b5570f6b7d7e (diff) | |
download | external_mesa3d-183db3a64557d5d231ef58ab5666286f323ff333.zip external_mesa3d-183db3a64557d5d231ef58ab5666286f323ff333.tar.gz external_mesa3d-183db3a64557d5d231ef58ab5666286f323ff333.tar.bz2 |
glsl: move half<->float convertion to util
Needed in NIR too, so move out of mesa/main/imports.c
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Rob Clark <robclark@freedesktop.org>
Diffstat (limited to 'src/mesa/main/texcompress_bptc.c')
-rw-r--r-- | src/mesa/main/texcompress_bptc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/texcompress_bptc.c b/src/mesa/main/texcompress_bptc.c index f0f6553..26e5915 100644 --- a/src/mesa/main/texcompress_bptc.c +++ b/src/mesa/main/texcompress_bptc.c @@ -30,6 +30,7 @@ #include "texcompress.h" #include "texcompress_bptc.h" #include "util/format_srgb.h" +#include "util/half_float.h" #include "texstore.h" #include "macros.h" #include "image.h" |