summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2010-04-01 09:51:54 +0200
committerMichal Krol <michal@vmware.com>2010-04-01 13:33:08 +0200
commit5a359df2195583f94f7d6bcd28144677630df03b (patch)
treeb6a35e9adb08e70bd65b0850d8b1a003f6ed0d1e
parent3ff175d6de89ad92d167362355501f99d06f0f97 (diff)
gallium: Integrate util_half with scons.
-rw-r--r--src/gallium/auxiliary/SConscript2
-rw-r--r--src/gallium/include/pipe/p_compiler.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/SConscript b/src/gallium/auxiliary/SConscript
index ed719f9f1a..02b8045096 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 e2766d15cd..d645fd09bf 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