projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
src/util: Remove out-of-range comparison
[mesa.git]
/
src
/
util
/
format
/
u_format_pack.py
diff --git
a/src/util/format/u_format_pack.py
b/src/util/format/u_format_pack.py
index 5a1763d1e6fa02dcd9f6564c29d0a3843c79ccf5..c8749a2c0474e7057a3bd9275434fd4daec0b3f8 100644
(file)
--- a/
src/util/format/u_format_pack.py
+++ b/
src/util/format/u_format_pack.py
@@
-437,7
+437,7
@@
def conversion_expr(src_channel,
src_size = 32
if dst_channel.size == 16:
- value = 'util_float_to_half(%s)' % value
+ value = 'util_float_to_half
_rtz
(%s)' % value
elif dst_channel.size == 64 and src_size < 64:
value = '(double)%s' % value