Mesa (master): freedreno/ir3: Enabling lowering 16-bit flrp

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Nov 20 14:38:28 UTC 2019


Module: Mesa
Branch: master
Commit: 37f5395783d5ccde078e2eb0dbcc7e846f06d9da
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=37f5395783d5ccde078e2eb0dbcc7e846f06d9da

Author: Neil Roberts <nroberts at igalia.com>
Date:   Thu Jun  6 16:29:35 2019 +0200

freedreno/ir3: Enabling lowering 16-bit flrp

Reviewed-by: Rob Clark <robdclark at gmail.com>

---

 src/freedreno/ir3/ir3_nir.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/freedreno/ir3/ir3_nir.c b/src/freedreno/ir3/ir3_nir.c
index afcd87a16b9..5af50c45b9c 100644
--- a/src/freedreno/ir3/ir3_nir.c
+++ b/src/freedreno/ir3/ir3_nir.c
@@ -37,6 +37,7 @@ static void ir3_setup_const_state(struct ir3_shader *shader, nir_shader *nir);
 static const nir_shader_compiler_options options = {
 		.lower_fpow = true,
 		.lower_scmp = true,
+		.lower_flrp16 = true,
 		.lower_flrp32 = true,
 		.lower_flrp64 = true,
 		.lower_ffract = true,
@@ -64,6 +65,7 @@ static const nir_shader_compiler_options options = {
 static const nir_shader_compiler_options options_a6xx = {
 		.lower_fpow = true,
 		.lower_scmp = true,
+		.lower_flrp16 = true,
 		.lower_flrp32 = true,
 		.lower_flrp64 = true,
 		.lower_ffract = true,




More information about the mesa-commit mailing list