diff options
author | José Fonseca <[email protected]> | 2010-04-04 20:43:52 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-04-06 15:38:21 +0100 |
commit | 04ea6f5dd84bb91e91225133f3a67e38ed7a3fad (patch) | |
tree | c7b7ca9254d29c5d03e9af970542c1a4b86bbfcb /src/gallium/auxiliary/util/u_half.h | |
parent | 05b494c10181cff6a37557f530cfaf5b8d6c8e3d (diff) |
util: Make half float lookup tables constant.
Diffstat (limited to 'src/gallium/auxiliary/util/u_half.h')
-rw-r--r-- | src/gallium/auxiliary/util/u_half.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/auxiliary/util/u_half.h b/src/gallium/auxiliary/util/u_half.h index a28b1fd1d93..bc41c65b961 100644 --- a/src/gallium/auxiliary/util/u_half.h +++ b/src/gallium/auxiliary/util/u_half.h @@ -8,11 +8,11 @@ extern "C" { #endif -extern uint32_t util_half_to_float_mantissa_table[2048]; -extern uint32_t util_half_to_float_exponent_table[64]; -extern uint32_t util_half_to_float_offset_table[64]; -extern uint16_t util_float_to_half_base_table[512]; -extern uint8_t util_float_to_half_shift_table[512]; +extern const uint32_t util_half_to_float_mantissa_table[2048]; +extern const uint32_t util_half_to_float_exponent_table[64]; +extern const uint32_t util_half_to_float_offset_table[64]; +extern const uint16_t util_float_to_half_base_table[512]; +extern const uint8_t util_float_to_half_shift_table[512]; /* * Note that if the half float is a signaling NaN, the x87 FPU will turn |