From 5a359df2195583f94f7d6bcd28144677630df03b Mon Sep 17 00:00:00 2001 From: Michal Krol Date: Thu, 1 Apr 2010 09:51:54 +0200 Subject: [PATCH] gallium: Integrate util_half with scons. --- src/gallium/auxiliary/SConscript | 2 ++ src/gallium/include/pipe/p_compiler.h | 1 + 2 files changed, 3 insertions(+) diff --git a/src/gallium/auxiliary/SConscript b/src/gallium/auxiliary/SConscript index ed719f9f1a9..02b8045096e 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 e2766d15cd1..d645fd09bf0 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 -- 2.30.2