diff options
author | Marek Olšák <marek.olsak@amd.com> | 2020-09-18 05:53:56 -0400 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2020-09-30 16:28:24 +0000 |
commit | 2b6a17234376817e75d1f81edf5bd1b28eefb374 (patch) | |
tree | e6085ab99883e6cd3b89eaca041a13e4d7368935 /src/gallium/drivers/lima/lima_draw.c | |
parent | 5af81393e419eaf086e4de2a1d149af78cd1f54d (diff) | |
download | mesa-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.c | 2 |
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); |