gallium/util: remove redundant util_float_to_half_rtz

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6774>
This commit is contained in:
Marek Olšák
2020-09-18 06:00:06 -04:00
committed by Marge Bot
parent 2b6a172343
commit 7a1deb16f8
4 changed files with 5 additions and 75 deletions
+1 -1
View File
@@ -436,7 +436,7 @@ def conversion_expr(src_channel,
src_size = 32
if dst_channel.size == 16:
value = 'util_float_to_half_rtz(%s)' % value
value = '_mesa_float_to_float16_rtz(%s)' % value
elif dst_channel.size == 64 and src_size < 64:
value = '(double)%s' % value