OIIO was including imaths half.h when it did not need to, leading to build errors in lite builds. This issue had been fixed already upstream but was not yet included in the version we use.
29 lines
664 B
Diff
29 lines
664 B
Diff
diff --git a/src/include/OpenImageIO/simd.h b/src/include/OpenImageIO/simd.h
|
|
index f888b29fe..e0cdebdc1 100644
|
|
--- a/src/include/OpenImageIO/simd.h
|
|
+++ b/src/include/OpenImageIO/simd.h
|
|
@@ -46,10 +46,6 @@
|
|
|
|
#include <OpenImageIO/detail/fmt.h>
|
|
|
|
-// Without SSE, we need to fall back on Imath for matrix44 invert
|
|
-#if !OIIO_SIMD_SSE
|
|
-# include <OpenImageIO/Imath.h>
|
|
-#endif
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
@@ -279,6 +275,12 @@
|
|
#endif
|
|
|
|
|
|
+// Without SSE, we need to fall back on Imath for matrix44 invert
|
|
+#if !OIIO_SIMD_SSE
|
|
+# include <OpenImageIO/Imath.h>
|
|
+#endif
|
|
+
|
|
+
|
|
OIIO_NAMESPACE_BEGIN
|
|
|
|
namespace simd {
|