diff options
author | James Benton <[email protected]> | 2012-06-12 12:11:14 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2012-06-29 12:21:02 +0100 |
commit | 6dd8e6f9cbca63b222fe4a1c2c49ddb53e75999e (patch) | |
tree | 80d2ad8e582408ea4502511262acf79960528d29 /src/gallium/auxiliary/Android.mk | |
parent | c8d3481cdb12a10e02b23d65c73017ce5925cde7 (diff) |
util: Reimplement half <-> float conversions.
Removed u_half.py used to generate the table for previous method.
Previous implementation of float to half conversion was faulty for
denormalised and NaNs and would require extra logic to fix,
thus making the speedup of using tables irrelevant.
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/Android.mk')
-rw-r--r-- | src/gallium/auxiliary/Android.mk | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/Android.mk b/src/gallium/auxiliary/Android.mk index 0c37dd31ab6..11fc2256a82 100644 --- a/src/gallium/auxiliary/Android.mk +++ b/src/gallium/auxiliary/Android.mk @@ -44,8 +44,7 @@ $(LOCAL_GENERATED_SOURCES): PRIVATE_CUSTOM_TOOL = $(PRIVATE_PYTHON) $^ > $@ $(intermediates)/indices/u_indices_gen.c \ $(intermediates)/indices/u_unfilled_gen.c \ -$(intermediates)/util/u_format_srgb.c \ -$(intermediates)/util/u_half.c: $(intermediates)/%.c: $(LOCAL_PATH)/%.py +$(intermediates)/util/u_format_srgb.c: $(intermediates)/%.c: $(LOCAL_PATH)/%.py $(transform-generated-source) $(intermediates)/util/u_format_table.c: $(intermediates)/%.c: $(LOCAL_PATH)/%.py $(LOCAL_PATH)/util/u_format.csv |