summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-04-01 15:15:57 +0100
committerJosé Fonseca <jfonseca@vmware.com>2010-04-01 15:15:57 +0100
commit6b1a8e0f877c780420ba392cb1e55963507dc5cf (patch)
tree28c88eda81931b0d89356bc4df05e7212519ce09 /progs
parent89034b8ae71ca12f9a12935807a33caa686ede00 (diff)
gallium/unit: Invoke util_half_init_tables().
half float formats now pass the tests.
Diffstat (limited to 'progs')
-rw-r--r--progs/gallium/unit/u_format_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/gallium/unit/u_format_test.c b/progs/gallium/unit/u_format_test.c
index b8c54aec8d..6ccef23617 100644
--- a/progs/gallium/unit/u_format_test.c
+++ b/progs/gallium/unit/u_format_test.c
@@ -30,6 +30,7 @@
#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"
@@ -403,6 +404,7 @@ int main(int argc, char **argv)
{
boolean success;
+ util_half_init_tables();
util_format_s3tc_init();
success = test_all();