From f0d74ecce8d3353ed2696cb4b1e707fd6ddf0a40 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Fri, 12 Jan 2018 11:12:09 +1100 Subject: [PATCH] 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 --- src/amd/vulkan/radv_shader.c | 1 + src/gallium/drivers/radeonsi/si_get.c | 1 + 2 files changed, 2 insertions(+) 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, -- 2.30.2