Mesa (master): gallium: Integrate util_half with scons.

Michał Król michal at kemper.freedesktop.org
Thu Apr 1 11:33:27 UTC 2010


Module: Mesa
Branch: master
Commit: 5a359df2195583f94f7d6bcd28144677630df03b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a359df2195583f94f7d6bcd28144677630df03b

Author: Michal Krol <michal at vmware.com>
Date:   Thu Apr  1 09:51:54 2010 +0200

gallium: Integrate util_half with scons.

---

 src/gallium/auxiliary/SConscript      |    2 ++
 src/gallium/include/pipe/p_compiler.h |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/gallium/auxiliary/SConscript b/src/gallium/auxiliary/SConscript
index ed719f9..02b8045 100644
--- a/src/gallium/auxiliary/SConscript
+++ b/src/gallium/auxiliary/SConscript
@@ -143,7 +143,9 @@ source = [
     'util/u_format_s3tc.c',
     'util/u_format_table.c',
     'util/u_format_tests.c',
+    'util/u_gctors.cpp',
     'util/u_gen_mipmap.c',
+    'util/u_half.c',
     'util/u_handle_table.c',
     'util/u_hash.c',
     'util/u_hash_table.c',
diff --git a/src/gallium/include/pipe/p_compiler.h b/src/gallium/include/pipe/p_compiler.h
index e2766d1..d645fd0 100644
--- a/src/gallium/include/pipe/p_compiler.h
+++ b/src/gallium/include/pipe/p_compiler.h
@@ -74,6 +74,7 @@ typedef unsigned char boolean;
 #define FALSE false
 #endif
 
+typedef unsigned short half;
 
 /* Function inlining */
 #ifndef INLINE




More information about the mesa-commit mailing list