util: remove util_float_to_half and util_half_to_float wrappers

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6987>
This commit is contained in:
Marek Olšák
2020-09-18 05:53:56 -04:00
parent 24a62dd0fb
commit b42c6ff6f6
26 changed files with 69 additions and 81 deletions
+1 -1
View File
@@ -360,7 +360,7 @@ def conversion_expr(src_channel,
# Promote half to float
if src_type == FLOAT and src_size == 16:
value = 'util_half_to_float(%s)' % value
value = '_mesa_half_to_float(%s)' % value
src_size = 32
# Special case for float <-> ubytes for more accurate results