summaryrefslogtreecommitdiffstats
path: root/progs
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-04-02 04:51:50 +0200
committerLuca Barbieri <[email protected]>2010-04-02 06:16:30 +0200
commit2a090ae80a597f498f113fe58a772ddf3dca12e0 (patch)
treec4758cfc46be0654b4e4cecff435fe56494dcd2b /progs
parent5126683e3b971ccfb51e50e560750ce44e86bae8 (diff)
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.
Diffstat (limited to 'progs')
-rw-r--r--progs/gallium/unit/u_format_test.c4
1 files changed, 0 insertions, 4 deletions
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 <stdio.h>
#include <float.h>
-#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;