From: Timothy Arceri Date: Fri, 12 Jan 2018 00:12:09 +0000 (+1100) Subject: radv/radeonsi/nir: lower 64bit flrp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f0d74ecce8d3353ed2696cb4b1e707fd6ddf0a40;p=mesa.git radv/radeonsi/nir: lower 64bit flrp Fixes a bunch of arb_gpu_shader_fp64 piglit tests for example: generated_tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/fs-mix-double-double-double.shader_test Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index 6f622dd9968..9819a522d71 100644 --- a/src/amd/vulkan/radv_shader.c +++ b/src/amd/vulkan/radv_shader.c @@ -52,6 +52,7 @@ static const struct nir_shader_compiler_options nir_options = { .vertex_id_zero_based = true, .lower_scmp = true, .lower_flrp32 = true, + .lower_flrp64 = true, .lower_fsat = true, .lower_fdiv = true, .lower_sub = true, diff --git a/src/gallium/drivers/radeonsi/si_get.c b/src/gallium/drivers/radeonsi/si_get.c index 9b5a03edafb..caf6e9d19ff 100644 --- a/src/gallium/drivers/radeonsi/si_get.c +++ b/src/gallium/drivers/radeonsi/si_get.c @@ -504,6 +504,7 @@ static const struct nir_shader_compiler_options nir_options = { .vertex_id_zero_based = true, .lower_scmp = true, .lower_flrp32 = true, + .lower_flrp64 = true, .lower_fsat = true, .lower_fdiv = true, .lower_sub = true,