Prechádzať zdrojové kódy

Disabled reference implementation warning.

Branimir Karadžić 11 rokov pred
rodič
commit
86ac9ef64b
1 zmenil súbory, kde vykonal 8 pridanie a 1 odobranie
  1. 8 1
      include/bx/float4_t.h

+ 8 - 1
include/bx/float4_t.h

@@ -18,7 +18,14 @@
 #elif 0 // BX_COMPILER_CLANG
 #elif 0 // BX_COMPILER_CLANG
 #	include "float4_langext.h"
 #	include "float4_langext.h"
 #else
 #else
-#	pragma message("************************************\nUsing SIMD reference implementation!\n************************************")
+#	ifndef BX_FLOAT4_WARN_REFERENCE_IMPL
+#		define BX_FLOAT4_WARN_REFERENCE_IMPL 0
+#	endif // BX_FLOAT4_WARN_REFERENCE_IMPL
+
+#	if BX_FLOAT4_WARN_REFERENCE_IMPL
+#		pragma message("************************************\nUsing SIMD reference implementation!\n************************************")
+#	endif // BX_FLOAT4_WARN_REFERENCE_IMPL
+
 #	include "float4_ref.h"
 #	include "float4_ref.h"
 #endif //
 #endif //