summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/lima/lima_draw.c
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2020-09-18 05:53:56 -0400
committerMarge Bot <eric+marge@anholt.net>2020-09-30 16:28:24 +0000
commit2b6a17234376817e75d1f81edf5bd1b28eefb374 (patch)
treee6085ab99883e6cd3b89eaca041a13e4d7368935 /src/gallium/drivers/lima/lima_draw.c
parent5af81393e419eaf086e4de2a1d149af78cd1f54d (diff)
downloadmesa-2b6a17234376817e75d1f81edf5bd1b28eefb374.tar.gz
util: remove util_float_to_half and util_half_to_float wrappers
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6774>
Diffstat (limited to 'src/gallium/drivers/lima/lima_draw.c')
-rw-r--r--src/gallium/drivers/lima/lima_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/lima/lima_draw.c b/src/gallium/drivers/lima/lima_draw.c
index 8737e5efaf5..672108400a7 100644
--- a/src/gallium/drivers/lima/lima_draw.c
+++ b/src/gallium/drivers/lima/lima_draw.c
@@ -898,7 +898,7 @@ lima_update_pp_uniform(struct lima_context *ctx)
lima_ctx_buff_alloc(ctx, lima_ctx_buff_pp_uniform_array, 4);
for (int i = 0; i < const_buff_size; i++)
- fp16_const_buff[i] = util_float_to_half(const_buff[i]);
+ fp16_const_buff[i] = _mesa_float_to_half(const_buff[i]);
*array = lima_ctx_buff_va(ctx, lima_ctx_buff_pp_uniform);