summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/ir3
diff options
context:
space:
mode:
authorSamuel Iglesias Gonsálvez <[email protected]>2016-01-19 15:22:18 +0100
committerSamuel Iglesias Gonsálvez <[email protected]>2016-05-10 11:25:01 +0200
commitd00a239b288c5df7003f30ac80d156e70f27acf7 (patch)
treecf8b4aa843c030bc390a234f698e804b9497dc89 /src/gallium/drivers/freedreno/ir3
parent93e690830a4ffb5c797a1d51d706d71f573c9f50 (diff)
freedreno/ir3: lower lrp when operating with double operands
Lower lrp when operating with double operands because float version of lrp is also lowered. Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]> Reviewed-by: Rob Clark <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/ir3')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3_nir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_nir.c b/src/gallium/drivers/freedreno/ir3/ir3_nir.c
index 99c2ecba480..28cde5b25cb 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3_nir.c
+++ b/src/gallium/drivers/freedreno/ir3/ir3_nir.c
@@ -43,6 +43,7 @@ ir3_tgsi_to_nir(const struct tgsi_token *tokens)
.lower_fsat = true,
.lower_scmp = true,
.lower_flrp32 = true,
+ .lower_flrp64 = true,
.lower_ffract = true,
.native_integers = true,
.vertex_id_zero_based = true,