diff options
author | Timothy Arceri <tarceri@itsqueeze.com> | 2018-01-12 11:12:09 +1100 |
---|---|---|
committer | Timothy Arceri <tarceri@itsqueeze.com> | 2018-01-13 18:04:40 +1100 |
commit | f0d74ecce8d3353ed2696cb4b1e707fd6ddf0a40 (patch) | |
tree | 280636776e36fa858fabf0e4a819b6890320dd1b | |
parent | 5bc0b63799dd23c7c1d150e83770d79bdca00a62 (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 <bas@basnieuwenhuizen.nl>
-rw-r--r-- | src/amd/vulkan/radv_shader.c | 1 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/si_get.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index 6f622dd996..9819a522d7 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 9b5a03edaf..caf6e9d19f 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, |