summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/mipmap.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2015-10-10 13:26:03 -0400
committerRob Clark <[email protected]>2015-10-16 19:33:37 -0400
commit183db3a64557d5d231ef58ab5666286f323ff333 (patch)
treef3216746bf09ad9d42e381b8c623f902f7d41740 /src/mesa/main/mipmap.c
parent60690cb3b3082b7397c48769ec28b5570f6b7d7e (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/mipmap.c')
-rw-r--r--src/mesa/main/mipmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/mipmap.c b/src/mesa/main/mipmap.c
index ab16c2854a8..50469956c6e 100644
--- a/src/mesa/main/mipmap.c
+++ b/src/mesa/main/mipmap.c
@@ -37,6 +37,7 @@
#include "texstore.h"
#include "image.h"
#include "macros.h"
+#include "util/half_float.h"
#include "../../gallium/auxiliary/util/u_format_rgb9e5.h"
#include "../../gallium/auxiliary/util/u_format_r11g11b10f.h"