From 2a090ae80a597f498f113fe58a772ddf3dca12e0 Mon Sep 17 00:00:00 2001 From: Luca Barbieri Date: Fri, 2 Apr 2010 04:51:50 +0200 Subject: gallium/util: revert util_format_init addition Putting calls to util_format_init all over the codebase is infeasible. Instead, half float tables are pregenerated, and the s3tc library is loaded on demand. I believe this is a solution that combines performance, cleanliness, flexibility and portability. --- progs/gallium/unit/u_format_test.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'progs/gallium') diff --git a/progs/gallium/unit/u_format_test.c b/progs/gallium/unit/u_format_test.c index 9883e1e41ca..2fb7badd629 100644 --- a/progs/gallium/unit/u_format_test.c +++ b/progs/gallium/unit/u_format_test.c @@ -30,10 +30,8 @@ #include #include -#include "util/u_half.h" #include "util/u_format.h" #include "util/u_format_tests.h" -#include "util/u_format_s3tc.h" static boolean @@ -402,8 +400,6 @@ int main(int argc, char **argv) { boolean success; - util_format_init(); - success = test_all(); return success ? 0 : 1; -- cgit v1.2.3