radv: do not lower frexp_exp and frexp_sig
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 22 Mar 2019 13:48:38 +0000 (14:48 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 28 Mar 2019 12:02:51 +0000 (13:02 +0100)
Hardware has two instructions.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_shader.c

index 19a807df1996edd0b9edf09eb6058d560667038c..eecbc6ae7599afe848bebafc5fa903522a379b53 100644 (file)
@@ -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 */