summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_half.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/util/u_half.h')
-rw-r--r--src/gallium/auxiliary/util/u_half.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_half.h b/src/gallium/auxiliary/util/u_half.h
index 4b80d45b91..02f0f24193 100644
--- a/src/gallium/auxiliary/util/u_half.h
+++ b/src/gallium/auxiliary/util/u_half.h
@@ -2,7 +2,8 @@
#define U_HALF_H
#include "pipe/p_compiler.h"
-#include "u_math.h"
+#include "util/u_math.h"
+#include "util/u_inline_init.h"
#ifdef __cplusplus
extern "C" {
@@ -55,6 +56,8 @@ util_float_to_half(float f)
return util_floatui_to_half(i.ui);
}
+UTIL_INLINE_INIT(util_half);
+
#ifdef __cplusplus
}
#endif