summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-01-12 11:12:09 +1100
committerTimothy Arceri <[email protected]>2018-01-13 18:04:40 +1100
commitf0d74ecce8d3353ed2696cb4b1e707fd6ddf0a40 (patch)
tree280636776e36fa858fabf0e4a819b6890320dd1b /src
parent5bc0b63799dd23c7c1d150e83770d79bdca00a62 (diff)
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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/amd/vulkan/radv_shader.c1
-rw-r--r--src/gallium/drivers/radeonsi/si_get.c1
2 files changed, 2 insertions, 0 deletions
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,