[Mesa-dev] [PATCH 01/59] i965: enable lrp lowering for doubles

Samuel Iglesias Gonsálvez siglesias at igalia.com
Fri Apr 29 11:28:58 UTC 2016


Broadwell and previous generations does not support lrp instruction
operating with doubles.

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
---
 src/mesa/drivers/dri/i965/brw_compiler.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/i965/brw_compiler.c b/src/mesa/drivers/dri/i965/brw_compiler.c
index 5ff1a61..0b05a9e 100644
--- a/src/mesa/drivers/dri/i965/brw_compiler.c
+++ b/src/mesa/drivers/dri/i965/brw_compiler.c
@@ -82,6 +82,7 @@ shader_perf_log_mesa(void *data, const char *fmt, ...)
    .lower_uadd_carry = true,                                                  \
    .lower_usub_borrow = true,                                                 \
    .lower_fdiv = true,                                                        \
+   .lower_flrp64 = true,                                                      \
    .native_integers = true,                                                   \
    .vertex_id_zero_based = true
 
-- 
2.5.0



More information about the mesa-dev mailing list