diff options
author | Luca Barbieri <[email protected]> | 2010-04-02 03:48:59 +0200 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-04-02 06:16:18 +0200 |
commit | c476305cdeb1ca9d755983e2058cb44f5b9109f0 (patch) | |
tree | 4cf81a1cd1a8648400a7281e811601822231fce2 /src/gallium/auxiliary/Makefile | |
parent | 2ae66e9b97e9864367c26fc5f9cb86896bc83b45 (diff) |
gallium/util: pregenerate half float tables
This solution avoids the issue of how to run the initializers and
also allows those pages (and the parts of them in processor caches)
to be shared between multiple processes.
The drawback is slightly higher library size.
Diffstat (limited to 'src/gallium/auxiliary/Makefile')
-rw-r--r-- | src/gallium/auxiliary/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/Makefile b/src/gallium/auxiliary/Makefile index 1db4aaa4398..843778d8100 100644 --- a/src/gallium/auxiliary/Makefile +++ b/src/gallium/auxiliary/Makefile @@ -169,7 +169,8 @@ GALLIVM_CPP_SOURCES = \ GENERATED_SOURCES = \ indices/u_indices_gen.c \ indices/u_unfilled_gen.c \ - util/u_format_table.c + util/u_format_table.c \ + util/u_half.c ifeq ($(MESA_LLVM),1) @@ -198,3 +199,5 @@ util/u_format_table.c: util/u_format_table.py util/u_format_pack.py util/u_forma util/u_format_access.c: util/u_format_access.py util/u_format_parse.py util/u_format.csv python util/u_format_access.py util/u_format.csv > $@ +util/u_half.c: util/u_half.py + python util/u_half.py > $@ |