From: Samuel Pitoiset Date: Fri, 22 Mar 2019 13:48:38 +0000 (+0100) Subject: radv: do not lower frexp_exp and frexp_sig X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8a6e61cc52dbab01c2d86820cbf3ceb0cf1c473c;p=mesa.git radv: do not lower frexp_exp and frexp_sig Hardware has two instructions. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index 19a807df199..eecbc6ae759 100644 --- a/src/amd/vulkan/radv_shader.c +++ b/src/amd/vulkan/radv_shader.c @@ -305,7 +305,6 @@ radv_shader_compile_to_nir(struct radv_device *device, NIR_PASS_V(nir, nir_lower_system_values); NIR_PASS_V(nir, nir_lower_clip_cull_distance_arrays); - NIR_PASS_V(nir, nir_lower_frexp); } /* Vulkan uses the separate-shader linking model */